Fix some Rubocop warnings

Some easy fixes using Rubocop autocorrect flag

It would be good to eventually get to a stage where the quality
repo itself would pass Rubocop's checks.
Merge pull request #3 from andyw8/fix-some-rubocop-warnings

Fix some Rubocop warnings