Add explanatory comment.

Reduce function allocations in the parser.
Add failing test.
Find imported external modules that start with double underscores.
Merge pull request #1342 from Microsoft/externalModuleFix

External module fix