fix IM Message and Presence pickler

Avoid errors when there are other elements as well
add getJid
refactor answerIQ. The ticket now contains the method to answer itself, so tickets can now be answered without needing access to the unerlying session.