Update knockout.d.ts

According to the documents $index is an observable.
Merge pull request #2691 from WojciechKrysiak/patch-1

Update knockout.d.ts