Don't double url-decode state event types.
Fix bugs in invite/join dances.

We now do more implement more of the auth on the events so that we
don't reject valid events.
upgrade script depends on sqlite3 cli
Correctly handle the case where we get an event for an unknown room, which turns out we are actually in
Fix tests.
Update schema to support multiple signatures
Add update delta for schema change
Use correct default port in scripts/check_signature.py
Bump version numbers and change log
Merge branch 'release-v0.5.1' of github.com:matrix-org/synapse
Merge branch 'release-v0.5.1' of github.com:matrix-org/synapse into develop
Don't delete the entire current_state_events table
Merge branch 'develop' of github.com:matrix-org/synapse
Bump version and changelog
Spelling
Catch exceptions when trying to add an entry to rooms tables
Add a workaround for bug where some initial join events don't reference creation events in their auth_events
Attempt to fix bug where we 500d an event stream due to trying to cancel a timer twice
Re-sign events when we return them via federation as a temporary hack to work around the problem where we reconstruct events differently than when they were signed
Change the way we get missing auth and state events