allow `import Type as Alias` in the name of the grammar (closes #2361)
store ctx.curclass during postprocessing and register package as fake variable for `rename_local_vars` (see #3008)
[neko] use `tf_args` instead of TFun to determine constructor argument names (closes #3008)