Updated package handling for Rubygems 2.x in the Rakefile, and updated the gemspec.