Add "testing" environment settings to config.js.example

If we omit the "testing" configuration, the unit tests won't
work, which is extremely confusing.
Make "npm install" work with Node.js v0.10
Fix test suite
Merge branch 'master' of github.com:buddycloud/buddycloud-http-api

Conflicts:
	src/subscriptions.js
Use node-xmpp 0.7.0
Merge pull request #139 from denisw/master

Add support for Node.js v0.10