Fix a lot of rubocop offenses.
Merge pull request #139 from troessner/fix-a-lot-of-rubocop-offenses

Fix a lot of rubocop offenses.