Merge pull request #20 from pahanini/master

Ability to add custom envo config for tests
change _id to $this->primaryKey()
fast fix
Merge pull request #21 from Agrail/master

Changed all the DB quiery functions to work from the primarykey function within EMongoModel instead of assuming that _id is the only PK
add SaveCounters() function
new EMongoCriteria
replace with CMap is done and sorting constants are deleted
add __construct()
add addCondition()
fast fix setCondition() error
Merge pull request #22 from Agrail/master

Add saveCounters() and an Advanced EMongoCriteria
Some formatting and comments in EMongoSort
Fix for issue: https://github.com/Sammaye/MongoYii/issues/24
Fix for: https://github.com/Sammaye/MongoYii/issues/24
Completed unit test for: https://github.com/Sammaye/MongoYii/issues/24
Fixed EMongoCriteria according to:
https://github.com/Sammaye/MongoYii/pull/26
Added distinct command
Added a command helper
Added scoping to distinct command
Fixed bug in distinct scoping