Refer to 'user' (wrong) as 'local' (correct). Fixes #1.
Add test file
Merge pull request #2 from node-xmpp/jid-local

Refer to first part of JID as 'local' not user