Add a description of the websocket protocol to the spec

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Add an initial implementation of exec over websockets

There are still some terminal/buffering issues when running bash directly
(e.g. tab completion doesn't really work, the terminal gets confused), I will
work on those ASAP. The basics are here, though.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Emulate a terminal slightly more accurately

This allows things like top to work when you run bash.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Remove shell command and last vestige of legacy API

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Merge pull request #124 from tych0/exec-websocket

Exec websocket