Parse/lint NameSpaceImport module declaration.

Closes gh-1936
@dherman can you take a quick look at this? Can you also recommend forms that we should also add tests for? Thanks!