[FIX] forum: closing spam/offensive questions should give author karma penalty

This is a partial patch for issue #3460, pending more
improvements and refinements in master.

Currently the karma penalty is hardcoded to 5*downvote penalty,
which may or may not be sufficient to prevent posting, depending
on the other karma levels.
[FIX] longpolling/gevent: log errors occurring in main loop
[FIX] longpolling/gevent: automatically restart worker when killed

Whenever the longpolling/gevent worker dies, it
should be automatically restarted by the prefork
server, just like it happens for HTTP workers.