update mongoid config and added devise-invitable to dev Gemfile.