ACL support.

Add LearnDB-based ACLs to control access to the LearnDB, nick mappings, !cmd,
!kw and proxying.