trac-admin Refactor

NOTE: this patch went nowhere.