add a dialog when the kernel is auto-restarted

adds the autorestart status event for the dialog

so that user-restart is distinct from server-side auto restart.

closes #3490
move restart dialog to notebook.js
Merge pull request #3493 from minrk/restart-dialog

add a dialog when the kernel is auto-restarted