Make the gem work with mongoid 4.0 final

Also fixed the rdoc warning