Add rubocop to project, delivers #179

This adds https://github.com/bbatsov/rubocop to the project with an auto
generated `.rubocop_todo.yml`. The violations can be addressed over time without
breaking the build.
Could you change travis.yml to run these two tasks separately? I'd prefer the default rake task be just tests.