Parse/lint NameSpaceImport module declaration.

Closes gh-1936