Update gem Mongoid to support Rails4 and Devise