Fix Mongoid specs and change to 1.9 syntax

This breaks 1.8.7 compatibility. Also the Mongoid gem is pointing to github,
will need to wait for gem to be publish before releasing 1.0.0.