macro(n) updates

Added macros "expand", "template", and "tsubst" to macro(n), in
preparation for quilldoc(5).  Began writing quilldoc(5) manage.