ast: Allow printf conversions to be used with astAppendString

The macro used to invoke astAppendString has been changed. So any
code that uses astAppendString will need to be recompiled using the
definitions in the new ast.h.
kappa: Add LOGFILE parameter to configecho