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.