Updated spec and api docs to desired new format.
Merge branch 'develop' of github.com:matrix-org/synapse into registration-api-changes
Added LoginType constants. Created general structure for processing registrations.
Split out password/captcha/email logic.
Updated webclient to support the new registration logic.
Make captcha work again with the new registration logic.
Updated cmdclient to use new registration logic.
Fix unit tests.
Update spec to include m.login.email.identity
Merge branch 'develop' of github.com:matrix-org/synapse into registration-api-changes in preparation for re-merge to develop.
Recents uses data directly from $rootscope.events
Be consistent when associating keys with login types for registration/login.
Updated CHANGES and UPGRADE to reflect registration API changes.
More helpful 400 error messages.
Fix 'age' key to update on retries
Fix unit tests after adding extra argument on put_json
Improve logging in federation handler.
Recents must not show temporary fake messages
Correctly handle receiving 'missing' Pdus from federation, rather than just discarding them.
Fix bug where we incorrectly calculated 'age_ts' from 'age' key rather than the reverse. Don't transmit age_ts to clients for now.