Clean up gemfile

- Remove `therubyracer` gem as we no longer need it and the current version doesn't build on Precise.
- Pin gem versions to reduce dependency lookup time