rubocop style spacing fixes
remove redundant returns
rubocop style fix: remove perl-style backrefs
more rubocop (of course)
fix some raises to have proper style