Initial work on allowing in band registrations. XEP 077
Use branch of strophejs-plugins
Add utils method for turning HTTP DOM fields to XFORM fields.

Add registration method for in band registrations. updates #117
Avoid having to repeat whitelisted settings.
Make default height for chat boxes 400px
More form handling code. updates #117
More work on in band registration. updates #117

User gets automatically logged in if possible. Otherwise load login panel.
Remove reliance on strophe.register plugin. updates #117
Increase font size of reg form title
Bugfix. Don't save the session if we aren't authenticated.

Also, fixed reg form cancelation.
Better error handling, some handling of legacy forms and css fixes.

updates #117
More work on XEP-0077. updates #117

* On the registration form, show the xmpp.net badge for XMPP provider.
* More CSS and form improvements.
* New template registration_form.html
Show hardcoded urls. Some css width tweaks. updates #117
Remove toLowerCase. JID resources are case sensitive. updates #234

We should perhaps still make the node part lower case, but I'd like to double
check first.
Some css tweaks. Center the controlpanel form elements
Render form captcha. updates #117
Bugfixes around connection handling.

Properly disconnect after auth fail, so that we can log in again.
Don't reset the connection when logging out (not necessary).
Bugfix. JIDs not shown in chatrooms. fixes #282
Fix tests and added a workaround...

so that we can use require config in main.js also in the tests.
Merge branch 'register'