adjust template + content files to the new approach
config.h: remove constants that now reside in type77lib
dirstack.c: remove old common macros and make dirstack_walk call cb when pointed at a file
shape the source module to its current usefulness