Move exit state action into gracefulExit handler
Bind HTTP API to shutdown and restart actions
Display shutdown messages in web UI
Physical UI now uses shutdown state action