Add rubocop to CI process

Rubocop config
Fix some rubocop offenses