Fixed a breaking bug in typescript 1.0 RC where js is incorrectly generated when a variable name matches a module name / namespace. https://typescript.codeplex.com/workitem/2222