Use sets instead of lists for privileges
Use new IRCv3 capability API
Add support for references and recursion to LuaDB