Remove sqlite comment from gemspec
Restrict mongoid to version 2 since this branch only supports mongoid2.
Fix activesupport json decode syntax for newer versions of Rails.