MDLSITE-2176 add spam detection on forum posts

This can be included from config.php, like:
if (isset($SCRIPT) && $SCRIPT === '/mod/forum/post.php') {
    // Detect spammy posts.
    @include_once("$CFG->dirroot/blocks/spam_deletion/detect.php");
}