(CPR-57) Style fixes

Now that the packaging repo has rubocop we need to have a baseline for
all future runs. This commit goes through and fixes all 316 detected
offenses.
(CPR-57) Update %r and raise/fail

This commit turns off the regexp and raise/fail cops. Rubocop will no
longer make decisions of when %r is to be used for regular expresions.
It will also ignore raise and fails for differing between if and begin
blocks.
(CPR-57) Fix style from recent rebase

This commit fixes the style problems introduced since pull request being
opened. There is an addition of space before curly brace and the removal
of a redundant begin directly following the function definition.
Merge pull request #320 from clantant/maint/master/stylefix

(CPR-57) Style fixes