For currentDocumentChange, check if the server can display the new document before starting a new live dev session.

fix server cleanup

remove extraneous runs() block
consolidate live dev connection closing. fix regression for live dev base url prompt #4972.
fix JSLint function order error
Restore Inspector disconnect event handler for unexpected disconnects
fix jshint error
code review comments
minor event handler namespace cleanup