Use elastic search to get properties.

- Fixes to devices API.
- Use elastic search to retrieve entity resource
- Display selected entities & recent search.
- Add metadata to sensors and fix lower & upper bound strings.
Remove device_ids and user_id from the entity API
Merge pull request #148 from MastodonC/feature/elastic-search-comparison

Use elastic search to get properties.
Fix connection leaks to s3.

if you call get-object* on s3, you MUST close the stream you are
given. We do this in most places, but a few were missed...
Merge pull request #150 from MastodonC/feature/fix-s3-connection-leaks

Fix connection leaks to s3.
Add k.h.d.entities/get-entities-having-location.
Add boilerplate for property_map.
further js/css gymnastics.