User registration form, routes and handling.
Merge pull request #147 from MastodonC/feature/user-registration

User self registration
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.