Copy javascript strophe to trunk.
Add strophe.js dependencies.
Two patches from Chesspark fixes.  One to fix SASL auth hangs, and one to make the secondary timeout kick in in a spot where it wasnt.  Also made a few minor cleanups.
Created basic connection example.
Added SASL ANONYMOUS support.
Make blank resource let the server choose for consistency with libstrophe.  Edited docs for this and SASL ANONYMOUS changed.
Remove division by 1000 which is already done in the timeDead() function.
Fix SASL ANONYMOUS test to be correct, and make _requestId work.
Fix a number of small issues.  Fixed BOSH create body to have the new attributes in version 1.6 of the spec.  Added xmpp:restart support which was added with a newer version of the spec.  Made the SASL DIGEST-MD5 handlers catch early <success/> and <failure/>, fixing issues with Tigase and Openfire.  Also fixed a big bug where handlers could be added to the list while it was being iterated over.
Remove comment that was left in.  We do not send secure=true becuase this would require the connection be secure.  The conneciton manager should still make it secure if it is possible.
Get rid of super verbose logging from basic example.
Made disconnects graceful again.  Fixed adding and removing handlers not to mess up handler iteration.  Remove handlers used in auth when they are not needed.
Fix silly variable name clash.
Added echobot example.
Fix mistaken variable from Chesspark ported patch.
Revert accidental commit of basic.js
Merging source:branches/strophejs-anonymous-fix #11
Reverting [535], which was an attempt to fix #11.
Fixes case where escapeJid was prepending @ to a JID that had no node.  This fixes #11.
Fix #20.  xmlns attribute set multiple times.