GATEWAY-3180 subtask GATEWAY-3374: Patient Discovery - code and unit tests complete.
GATEWAY-3180 subtask GATEWAY-3374: PD Deferred code and unit tests.
GATEWAY-3180 subtask GATEWAY-3374: adding license header.
GATEWAY-3180 subtask GATEWAY-3374: removed system.out calls in unit tests.
GATEWAY-3180 subtask GATEWAY-3374: updates per codereview comments.
Merge pull request #341 from msweaver/GATEWAY-3180

GATEWAY-3180 subtask GATEWAY-3374: Patient Discovery - code and unit tes...