pack.h: improve docs on how to create a packfile
tests/pack: do strict check of testpack's SHA1 hash
Merge pull request #1362 from schu/packbuilder-nits

packbuilder: minor improvements