add PutForEnvironmentAndCheckHash method
trivial comment fix
Merge pull request #12 from rogpeppe/001-PutForEnvironmentAndCheckHash

add PutForEnvironmentAndCheckHash method