Migrate user_permissions to new key/value table 'curator_permissions'.
New permission update page.
CurateIndex: Migrate all queries to Datastore::run_query.