Use typeof function in the declaration emitter instead of unwinding first level
During qualification if we are looking in value space, the left qualifier meaning is also value
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
Merge pull request #414 from Microsoft/typeOfFunctionAndStaticFunction

Emit Type of function and static function correctly in declaration file