Setup the rubocop part of the build.

I plan to port the script changes to rspec-dev later.