Added `fulfilled` and `rejected` helper functions
Do not throw when trying to resolve twice, just do nothing
`then` must return before `callback` or `errback` is called