Adding status markers (and revised data model) to support site maintenance tasks from the admin dashboard.
Changed SQL refresh* methods to drop + rename tables instead of copying all data. Add support for asynchronous, long-running database maintenance tasks, and AJAX status updates on the admin dashboard.