Extract invisible and presence functions
Fix bug with Strophe.error
Fix 'extension' property of user