Do not emit references in generated declaration files if the --noresolve flag was set. This fixes a crash in the compiler when generating declarations with /// reference and noResolve
add negative test for invalid references and declaration emit
Use double quotes in declaration file's reference path generation so that quotes in file name wouldnt affect reference resolution

Fixes #474
Merge pull request #605 from Microsoft/quotesInDeclarationFile

Use double quotes in declaration file's reference path generation
Deferred type checking of function expressions to support circular definitions.
Accepting new baselines.
respond to code review remarks and reverted tryResolveScriptReference to resolveScriptReference
Merge branch 'master' into emitDeclarationWithNoResolve
Merge pull request #599 from Microsoft/emitDeclarationWithNoResolve

Do not emit references in generated declaration files if the --noresolve flag was set
Merge pull request #610 from Microsoft/circularFunctionExpressions

Circular function expressions
respond to code review remarks
move getWidenedType* functions inside the getWidenedType function scope
Merge branch 'master' into noImplicitAnyOnCast