Add email activation templates.  Fixes #1372
Temporarily stop using the Sites framework for user activation

We should evaluate whether we actually want to use the Sites framework
Add url_name option to create_instance
Merge pull request #1391 from cgarrard/master

Add url_name option to create_instance: Fixes #1371
Merge pull request #1389 from maurizi/activation-email

Add email activation templates.  Fixes #1372
Really fix UI tests

* For session management use file backend instead of DB, to reduce extraneous transactions
* Add `sleep(1)` to two tests which sometimes caused deadlock because there was still DB activity (reads, not writes) when the driver ended the test and truncated the tables. I can't explain how a read can cause deadlock, but it definitely does in this case.
Merge pull request #1394 from RickMohr/robustify-ui-tests

Really fix UI tests