CIDEVSTC-187: Support for M155 DELETED lcs, visibility etc

Also provides:
- datastore enhancements for visibility filtering
- datastore enhancements for queries

Merge only when all 3 repos are ready