cleanup
fix `exports` tag when the module object is passed to an AMD function (#642)

- Do not mark the doclet for the module object as undocumented.
- Track variables (including aliases) within the parent scope, so the members are resolved against the alias instead of the name used in the code.