Index feature

I have added index feature. Main idea and some elements of it realization has been taken from YiiMongoDbSuite.