Adding number of offenses to the actors page

Also, sort by actors who are not yet on the blacklist and who have
committed the highest number of offenses.

This commit also introduces some refactoring in order to separate the
controller level logic from the backend logic.