Also moved several shared internal methods to gr-api-utils, added tests for api-utils, also split tests for Gerrit.*. Change-Id: If00b0bcfff46f9ad2a0929b8baae1e5644fbe036