add template for delete project
refactored permissions somewhat and started implementing tests
adjusted AD plugin to the changes in the permission system
adjusted gitserverglue to the changes in the permission system