Collect events to send after reconnection.
WIP pinger
Replace old _reap stuff with PeriodicRegistry.

No more awkward setTimeout use in AllAgents.
Wait 5s on IE 6 and 7, 1s on Android to cool down.
Destroy right away, navigate after the timeout.
Fix: bindTarget to allAgents on dispatch.

Allows browsers to join the existing batch.
Submit results if we missed out the first time.

It's possible for a disconnect to happen just as results fire.
If we're alive enough to be responding to server-side ping,
resend any results we have to the server.
Fix: timeout tests based on lastNavigate time.
Expired check is not based on Batch timeout value.

The Batch timeout value should be used for the total test time,
not the lastSeen time, which should be happening every 2-4 seconds
nowadays.
Respond to pings during the navigateTimeout.
Re-run tests that failed to complete.

The waitingToStart queue is a more complex way of doing things
the wrong way. When a test is asked for, give the next test
that doesn't have results yet.

That way, if a browser crashes mid-test, we will just give that
test to the next one.
WIP robust ping
Remove tests for testing files with attachServer.

You'd typically be testing paths with attachServer,
so avoid testing this again for a use-case nobody will use.

agentSeen is failing in the deleted tests, but it isn't
worth fixing when nobody uses test files with attachServer.
Fix bug in re-delivering results.

Undefined results were being sent instead of actual results.
Hooray for JSHint!
Linter fixups.
Only timeout a Test, not capture page (NullTest).

The capture page isn't subject to the lastNavigate-based timeout.
Do not resend results when we will navigate soon.

Emitting results again after we have been given an order
to navigate will cause the server to emit another navigate event
and will reset the navigateTimeout. The ping handler will
resendResultsIfNeeded -- if that happens with an active navigateTimeout
because the navigationTimeoutMilliseconds value is high (e.g., IE 6,7)
then a loop is created as the browser responds to pings.
unresponsiveCycles -> unresponsivePings
Remove debugging statements.
Remove watchdog timer remnants.