Fixed call to sensors/delete-measurements

This brings this utility in line with the other hierarchical delete
functions.
Merge pull request #160 from MastodonC/feature/fix-delete-measurements

Fixed call to sensors/delete-measurements
Add programme_id and public_access to search.
wip: ugly allowed-all?*
Use filters
Tidy up.
Add missing id.
Insert updated entity to elasticsearch
Fix compilation errors.
Update API to use elastic search.
Replace support with test.