URL Encode search query.

Fixes #464
Escape elasticsearch query string

Working around this:

https://github.com/elasticsearch/elasticsearch/issues/1387
Merge pull request #466 from MastodonC/feature/hardened-search

Escape elasticsearch query string
Don't escape query string.

It stops wildcards and other things from working.
Merge pull request #467 from MastodonC/feature/flexi-search

Don't escape query string.
First draft of sensor_id.
Fix failing tests.
Update difference series calculations.
Fix failing tests.
Update rollups.
Update conversions and batch checks.
Update all remaining calculations.
Store sensor_id in datasets.
Update datasets API and UI to support sensor_id.
Update rollups API
Make dataset name editable.