Fix register model for Mongoid 3.1.0+
Merge pull request #8 from tiroc/master

Fix register model for Mongoid 3.1.0+