Handle composing and paused stanzas as per XEP-0085

Junction was firing `chat` events for these state events. In my case the sample "hello" app was sending me two messages, one of which was "You said: undefined". I've modified the code to detect the composing and paused state events.