SPARK-2138: TicTacToe - IQ error stanzas must have a child element
To conform with XMPP specifications (and Smacks enforcement of them) add an error condition to the IQ error response that's used to decline a game invitation.
SPARK-2138: TicTacToe - Fix addressing of invite response processing
When processing a response, the 'to' and 'from' addresses have already been swapped.
SPARK-2138: Reversi - Replace AsyncStanzaListener with IqRequestHandler
When processing an incoming IQ request (such as a game invitation), the version of Smack that we use does not allow us to use an AsyncStanzaListener anymore.
Before all registered stanza listeners are even invoked, Smack has determined that no IqRequestHandler has been registered to process the request, and will already have sent back an error.
SPARK-2138: TicTacToe - Process unexpected errors on game invites are reject
When a game inivitation gets answered by a generic error (eg 'feature-not-implemented') rather than an explicit decline, process this as a decline. Prior to this commit, the code threw an exception as it didn't recognize the response as either an invite accept or decline.