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

New implementation of previous PR https://github.com/getsentry/raven-js/pull/266