updating for mongoid 3.0.0
Merge pull request #6 from mikedanese/master

Added compatibility with Mongoid 3.0.0 and up,