Extend escalus so that XMPP external components can be tested

This commit introduces new API to escalus_{client, session, stanza}. The
code is rather a draft and definately needs refactoring.