Add rubocop for static code analysis.