Id dto refactor

- GlobalIdDTO moved up
- added support for querying by ValueObjectID in MongoRepository, 
added index on snapshots.global_id
test comment