Add tests for XmppServer shutdown

Fix corner case bug that happens if a XmppServerConnection gets a
delete trigger (result of the XmppServer being deleted) while it's
still on the WorkQueue.

Change-Id: I70b4b6d7f07e2dd682c8f6dc1c4f8da3d42e113a
Merge "Add tests for XmppServer shutdown"