Adding tire gem and mongoid configuration