add bundler and switch to minitest

This pull request allows us to support Bundler and run the test suite under bundler. It also switches the test suite from the old, deprecated Test::Unit + contest to the newer Minitest::Spec.

I've tested this under Ruby 1.8.7 on CentOS 6.