Add Rubocop and do automated rubocop fixes.