hashcache is now primed before processing

This is a temporary implementation to ensure crefs work properly; will optimize
in future commits.
hashcache will now exit with non-zero status if requested item cannot be found
Added cref-errlog to post-process cref errors rather than priming the hashcache

This is more performant, contains additional logging and will properly output
invalid crefs.