fcdb: allow database.lua to set delegation
Split from https://www.hostedredmine.com/issues/657143 requested by Jacob Nevins.
"Delegation feels like something that could live in a database, too. However, this applies to players rather than users, so I'm less clear how that would work precisely. Possibly the script would need access to game structures"