Use Ruby 1.8.7-p371

.ruby-version is the new standard file used by rbenv.
Add Gemfile for Bundler
Add missing development dependencies to gemspec
Add Travis CI config
separate 'test' Rake target into
- test:unit
- test:functional
- test:all
Merge pull request #16 from mlafeldt/bundler

Add support for Bundler