Rubocop fixes. Add Rubocop to travis build.