Getting a release of 1.7.1 ready.

Minimal changes to get the gem to load without warnings and the specs to run using
current versions of JRuby.