Backbone +  Devise configuration for mongodb, with mongoid and moped. Updated gems and added respond_to :json to fix http 422 and http 406 errors.