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.
Do we actually use an `Queue` methods or would a `Collection`/`ArrayList` work as well?