GEOMESA-6 Secondary Indexing (PR for comments)

Starting this PR for comments contains code from GEOMESA-169 that will be removed after PRs 107,108 are merged. I'll squash things up later.