Move getPatients() to QueryResult

Also slight optimization (don't build new set if we already have one).
Merge pull request #31 from thehyve/move_get_patients

Move getPatients() to QueryResult