DRY up minister and policy minister selection
Merge pull request #85 from ministryofjustice/82190384_dry_up_minister_selection

DRY up minister and policy minister selection
Correct case of factory
missed some case changes
Merge pull request #86 from ministryofjustice/correct_case_of_factory

Correct case of factory
mostly formatting and comment removal
some autoformatting got carried away
Merge pull request #87 from ministryofjustice/mostly_formatting_and_comment_removal

mostly formatting and comment removal
mostly formatting and comment removal
refactored query to use group by. Moved into model. Added tests
oops