Fix many of the rubocop / foodcritic errors