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.
`List<HashCode>`? Or are we really interested in this being an `ArrayList`? Alternatively, use an immutable list builder?