Fixes syntax and all basic Rubocop offenses.