add PutForEnvironmentAndCheckHash method

We add ManagedStorage.PutForEnvironmentAndCheckHash so that we can
check that an uploaded blob is actually the one that the client announced.