Fix Rubocop lints

Simple housekeeping. Correct an assortment of lints detected by Rubocop.

Change-Id: Ia13a9c684198c8015e87741599842ed211ff114f
Reviewed-on: https://gerrit.causes.com/31881
Tested-by: jenkins <jenkins@causes.com>
Reviewed-by: Shane da Silva <shane@causes.com>