Support for multiple users / databases in Pillar

Also adds a more flexible ACL management..