Port improved rspec helpers from other project.
Enable travis.