New RepoApiError constructor handling wikibase API errors

Change set integrates new RepoApiError within claimview/claimlistview widgets. Integration of
EditableValue and its derivatives will be done in another change set.

- patch set 3: rebase

Change-Id: Iccfbd64e390d38595d8b9f7939d505e043350206