Fixing rubocop complaints, adding rubocop to travis