Adding spam protection from ssorg forum module fork.

Brings across spam protection changes from ssorg-specific fork of the forum module.