Added support for ?where in REST queries
Refactored validation into Obj.validate && Obj.assimilate functions|