Add .ruby-version file for RVM.
Add Rakefile for running tests.
Add test for URL building. Use Minitest instead of Test::Unit.