Refactored the module with a better Gemfile and Rakefile.

Added Travis and rspec support.