Upgrade to Mongoid 3.1.4 version

Mongoid 3.1.x upgrade.