Allow external access to finished, isError

Finding out if a promise is already resolved or rejected does not seem to be possible right now, or at least in an unintuitive way. Therefore three methods where added to access the state of the promise:
isResolved, isRejeceted and isFinished (either rejected or resolved).