Advanced Scoring functionality

This commit introduces the functionality of advanced scoring, it allows admins to assign penalties and rewards
for each challenge for each class based on a number of detection points described in the advanced scoring page.

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>
fixed the bug where users where not auto-added to the global class if admin created them

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>
fixed pdo exception bug happening because of poor type checking and because I missed updating the class_id in the session

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>
added some index.php file in the installer folders to prevent path discolosure

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>