pkg/tarsum: specification on TarSum checksum algorithm

In an effort to standardize technologies used, this is providing a specification on the TarSum algorithm.

ping MAINTAINER @ewindisch
ping docs @SvenDowideit @jamtur01 
ping @shykes for good measure ;-)
I don't think it is "too casual" at all. It's just clear and simple! (You don't the "then" on ln. 191, btw.)