optimized jail priorities

Optimized jail priorities (3-10 times as fast) so that it scales linearly with the number of inmates instead of quadratic (now it only loops once over all inmates). Further:
- added seperate priorities for custom group / custom group lackeys.
- custom group priorities are always preferred over other priorities
- it is possible to add friends/family to the 'nobust' list