Simplify complexity of condensed_shorthand

Rubocop was reporting that this method was two complex. Extract some
helper methods to make it more intention-revealing at the expense of
slightly more code.

Change-Id: I311a9261bc6184233adbe9856c331af55e8b5b39
Reviewed-on: http://gerrit.causes.com/36715
Tested-by: jenkins <jenkins@causes.com>
Reviewed-by: Shane da Silva <shane@causes.com>