feat(StateMachine): support multiple async notify callbacks
feat(StateMachine): support multiple async notify callbacks

- in case two state notify event handles both want to do async things.  State machine waits until all async callbacks have been triggered before continuing.

justindujardin/pow2,justindujardin/pow2,justindujardin/pow2