Refactor Gemfile
Update gems
Update rails to 3.2.13