GEOMESA-169 fixing density iterator, restoring expansion of density map

* Fixes a regression in the density iterator.
* Improves the DensityIterator unit tests.