More tests; Bridge-specific email support; some work on data tables; pas...

...sword confirm validation and password reset support.

Sorry this is a big submit. I'll get in the habit of checking this stuff in separately. While waiting for my Synapse changes to go through, I kept on working. The biggest change here is that email should now be Bridge specific.