More code review and tidy-up:
- Trivial tidy-up: sensor creation.
- Annotate @Beta
- New entity predicates: isChildOf() and isMemberOf()
- Switch from ENTITY_PROVIDER to ENTITY_FILTER.
- Renamed GROUP_SPEC to BUCKET_SPEC, for clarity.