[cpanel] Fixed whitespace errors
[Security] Added a reference to the infraction event

The scoring history now holds an external_id to the event in the
database that caused the infraction.
[CPanel] Added infraction detail link to Players list

The details link provides info on all challenges played by the player
[cpanel] Added recheck functionality for infractions
[CPanel] Infraction recheck takes into account not finished challenges
[cPanel] Reorganised imports in views
[core/security] Modified security rules return values

Now using tuple notation.
[core/security] Improved documentation
Merged from cvicentiu:master