Mongoid 3.0

I've made some changes and now the gem works with Mongoid 3.0