[promise] introduce a 2nd state on RBPromise which is a more global one than "state"
[promise] perform actions only if promise resolve state is not set to RBPromiseResolveStateNotReady
[tests] update RBPromise tests to match with new API