Removed a codenarc violation, although it's a bit of a cheat
Refactored cyclomatically complex method into many smaller methods
Removes codenarc violation by reducing cyclomatic complexity…

…by returning null inside a method instead of checking for null outside the method
Refactored cyclomatically complex structure to satisfy codenarc
Refactored method to reduce cyclomatic complexity to satisfy codenarc
Refactored to reduce cyclomatic complexity to satisfy codenarc
Refactored to reduce cyclomatic complexity to satisfy codenarc
Refactored to reduce cyclomatic complexity to satisfy codenarc
Refactored to reduce cyclomatic complexity to satisfy codenarc
Add type, suppress warnings
Forbid all future codenarc violations
Enforce IfStatementBraces CodeNarc rule
Enforce EmptyCatchBlock CodeNarc rule
Add names of new CodeNarc 0.19 rules
Enforce IfStatementCouldBeTernary CodeNarc rule
Enforce SpaceAfterCatch CodeNarc rule
Enforce SpaceAfterComma
Enforce SpaceAfterWhile
Enforce SpaceAfterFor
Enforce SpaceAfterIf