gr-rest-api-interface contains api for different entities types
and all the code is placed in one file - gr-rest-api-interface.js.
This commit moves all utils methods to a separate GrRestApiHelper
class. After moving, new API can be added as a separate file.
In the future existing API can be refactored as well to provide more
structured access to API. For example, repo API can be exposed as
restAPI.repositories.getConfig(...)
Change-Id: I57f52847aa7e0d4f924f3f5105fc64cd0226d2ff