Merge pull request #6 from ComradeDOS/master

Fixing test, caps module
Merge pull request #7 from ComradeDOS/master

Fixed tests
add node_modules to .gitignore
dispatcher: allow to hook outgoing stanzas
XML ORM: allow special element_name starting with colon meaning that the
element_name will be stored in an attribute which name is followed by
the colon
initial support for chatstates (XEP-0085)