JCLOUDS-457: Added TreeHasher util class and its test.

The TreeHasher class allows us to calculate the linear hash and the
treehash of the archives and multipart upload parts.
If we keep the current way of calculating, is there any reason to retain a reference to the payload?