Enforce rubocop

Rubocop is now part of the default rake task and ran by the CI.

Current code style has been tweaked to satisfy as many GDS styleguide https://github.com/alphagov/styleguides/blob/master/ruby.md rules as possible.