feat(resolve): implement resolve method on Deferred
feat(reject): implement Deferred.reject