Fix a number of moronic errors in hotcrp_comet error handling.

- Bad order of arguments to setTimeout.
- Calculate time delta before resetting tracker_comet_at.
- Improve logic of when to block.
When error_reporting is on, don't pollute ajax.