Make the gerrit routine always thrown Gerrit::REST::Exception objects

In some places it was throwing simple strings, which weren't expected
by the gerrit_or_die rotine.
v0.016

  [Fixes]
  - When Gerrit was in any way inaccessible the error messages were
    mangled.