Upstream changes

This merge brings our repo up to date with the latest from [phacility/phabricator](https://github.com/phacility/phabricator).

**Note:** don't deploy this to production until we're ready to take the web UI offline and migrate the database.