Make changes to report error if the type used from external module cannot be named
Adds test cases too
Merge pull request #431 from Microsoft/cannotName

Make changes to report error if the type used from external module cannot be named