added counting of network errors and exiting above a threshold
Merge branch 'exit-after-network-errors'

Conflicts:
	server/tests-overlay/steeplechase/tests/dom/media/tests/mochitest/long.js