Development of an Ideal Observer that Incorporates Nuisance Parameters and Processes List-Mode Data