use react.js for command widgets

This thing is an untested mess. I mean the entire code base, not this
patch.

First patch in a big cleanup session.

Also removes jsplumb artifacts.