More category ACL fixes for deleted and archived categories
Fool proof referrer detection on setRedirectBack(), fixes issues in admin