GEOMESA-313 Handle Id and * queries

Picking up from #269 and https://github.com/locationtech/geomesa/pull/277
I thought flatmap would reduce a Set[Set[id]] to a Set[id]. In java I would just addall to the set and it would automatically remove dupes.