TRUNK-2820: Added Client side logic of grouping the results on Find Pati...

...ents to Merge page

https://tickets.openmrs.org/browse/TRUNK-2820

Thanks
Kesha Shah