Made knockout.d.ts support both AMD and static loading.
Merge pull request #867 from AndrewGaspar/knockoutamd

Made knockout.d.ts support both AMD and static loading.