Refactored extensively the query mechanism in CDataWrapper and the Query() method in CMongoContainer, need to test what done till now and propagate changes:
need to do GET-ONE and ontology queries.