Fix bug when no onStateChange block is set.
Clarify documentation for onStateChange:
Add onResponseUpdate: method to supply a block that is called when the response is updated.