Remove `akismet_test_mode()` usage as it's been removed from Akismet's development branch.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5320 9866e705-20ec-0310-96e7-cbb4277adcfb
Remove `akismet_microtime()` usage as it's been removed from Akismet's development branch.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5321 9866e705-20ec-0310-96e7-cbb4277adcfb
Add `NUMERIC` type hinting to view queries. Props netweb. Fixes #2554.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5322 9866e705-20ec-0310-96e7-cbb4277adcfb