Fixes rubocop violations.

Most were autocorrected. Disabled the ClassLength check on CleverObject for now, because it is not too bad (108/100) and also because we don't want to refactor it at this time.