Create Error object for errors returned in the response body.
Fixed flaky test for Datastore.getAll().

* Order in returned objects is coherent with returned keys, but not necessarily with the keys passed as input.