Support for Mongoid >= 3.1

Updated the gemspec to allow Mongoid 3.1. All specs pass, and I've verified it works in my own applications.