make_ast: Copy Ast arguments to the function-factory helpers
make_ast: Copy Ast arguments to the function-factory helpers

The function types may be nested, so the function-factory should copy
in Ast arguments rather than panicking.  Switch to expecting non-const
references since doing otherwise would mean adding const and non-const
version of everything everywhere and I am sick of that crap.

rcdomigan/atl