Added queryextensions that make permission life better
Notably withPermissions on User, UserPermissions and GroupPermissions