Upgrade rails and other dependencies and added gemnasium badge to the README
Merge branch 'upgrade_rails' into develop