Fix bounding box search issue.

This fixes the bounding-box selection of a map for search.

Does not address metadata issues where the extent issues in the metadata.

closes #32
Merge branch 'master' into sinatra
clean up comments