Use minitest for testing

Test::Unit was replaced by Minitest in Ruby 1.9, so use minitest
for testing. Add minitest as a development dependency so tests
should still work with 1.8.7. Also updated Rakefile to fix issue
with RDoc generation.