Add promise to JQueryDeferred

Add promise method returning JQueryPromise from JQueryDeferred:
http://api.jquery.com/deferred.promise/
Merge pull request #621 from nwolverson/jquery-promise

Add promise to JQueryDeferred