Add fixes in rest client and in tempest's exceptions, refactor and add new tests for murano metadata repository