Add rubocop and fix offenses