Thread title editing.

Known wart: the page title doesn't get live-updated to the new value.
Merge branch 'edit-title' into deploy