Cannot reference relative external module from the ambient external module
Fixes issues with symbol caching for extends and implements list
Use the instance variable for a module when doing find-refs.

This way we find matches when the module is used as a container or as a variable.
We need to normalize file paths in find refs.
Check export consistency for merged declarations
Namespace resolution and variable type consistency fixes
Fix top level symbol cache
Generated js loses indentation in "if...else" statement when the "if" is not a block
Fix for Static members treated as instance for type compatability
Update testcases to match resolved bugs.
Test updates for resolved bugs