Do not show noImplictAny errors when widening for a cast expression
respond to code review remarks
move getWidenedType* functions inside the getWidenedType function scope
Merge branch 'master' into noImplicitAnyOnCast
Merge branch 'master' into noImplicitAnyOnCast

Conflicts:
	src/compiler/checker.ts
	tests/baselines/reference/arrayCast.errors.txt
	tests/baselines/reference/contextualTyping39.errors.txt
	tests/baselines/reference/contextualTyping41.errors.txt
	tests/baselines/reference/fuzzy.errors.txt
	tests/baselines/reference/genericTypeAssertions2.errors.txt
	tests/baselines/reference/genericTypeAssertions4.errors.txt
	tests/baselines/reference/genericTypeAssertions5.errors.txt
	tests/baselines/reference/intTypeCheck.errors.txt
	tests/baselines/reference/typeAssertions.errors.txt
fix typo
Merge pull request #602 from Microsoft/noImplicitAnyOnCast

Do not show noImplictAny errors when widening for a cast expression