Updated declaration files and ts task to be 0.9.5 compatable.
Added tests for external reference file amdloaders.
Fix infinite loop in sharedStart().
Merge pull request #39 from jeffmay/fix-infinite-loop

Fix infinite loop