Added hashcache

This will be used to generate links to previous commits (to avoid putting full URLs in the articles themselves)
hashcache now permits partial hash matches (common practice in git)
Added cref tag support to msgfmt, permitting ref of previous commits