Updated durandal.d.ts due to changes in jquery.d.ts

Updated function definitions to use generics where necessary to allow working with the latest version of jquery.d.ts.