Fix Pure componentWillUpdate and componentDidUpdate

If no pending state pass current state as next state to implementers of
IWillUpdate. If no previous state pass current state as previous state
to implementers of IDidUpdate.