ERP5Security.ERP5GroupManager: Move security category mapping lookup out.
Vincent Pelletier authored
So that it can be reused outside of group manager without having to
duplicate the backward-compatibility order.
Also, simplify code.
748046d0