Setup and initial tests

Added the usual management files -- Rakefile, Gemfile -- and got started on a test suite.