Gem-related fixes and improvements

- Fix a problem with loading Bundler on certain systems, by requiring
  'rubygems' first
- Rake tasks for building and releasing the Varnisher gem