Add permissions listing to groups and layers

Should be easy to add permissions to hosts and
users once they get their act together and have
detail pages as well.