Fixed REST ID grouping for prey returns bug

Wrote new class that correctly groups observations based on unique id
returned by the rest service. Observations split by other observations
will now correctly be grouped. Updated unit tests