Add a massive set of changes for converting to use the ast_debug() macro.