wrap jquery's deferred[ resolveWith | rejectWith | notifyWith ]

New implementation of previous PR https://github.com/getsentry/raven-js/pull/266
Wouldn't we want to check that `$.Deferred` is not `undefined` first? Or does it not matter?