fix var scope / closure bug in JS
Support changing argv through websocket

not implemented in UI yet
info for humans on JSON error in websocket
build command widgets from HTML template

(why? you'll see...)
use jQuery events to connect model updates to view
"use strict"; in main.js
Update some fields of command widget in edit mode
refactoring createCmdWidget (split off initView)