Add promise to JQueryDeferred

Add promise method returning JQueryPromise from JQueryDeferred:
http://api.jquery.com/deferred.promise/

(Makes tests pass for jquery with 0.9)