Modernize the encoder-tools gem.

- Replace jeweler with a gemspec.
- Update to RSpec 2.x.
- Update other dependencies.