Improvements in resource management.
Add token authentication mechanism.
Add web terminal feature.

This change adds a new WebSocket server endpoint in dispatcher which can
be used to redirect shell or CLI to the browser. Example client implementation
provided uses term.js component which is xterm-compatible terminal emulator
written in Javascript.