*8785* Fixed possible task reporting flood to admin, fixed tests

BTW, you can specify a default as an optional 3rd parameter to Config::getVar. Since this is a reasonable default, and isn't going to exist in already-installed config files, it might be nice to specify a true default.