refactoring some service code
almost done with the location stuff

need to figure out why test is failing.
Spatial Query completed

The spatial query box stuff should now be working. UI sends post with
location restraints, the connector sorts it out, the REST service then
returns the results using the location restraints provided by the UI.