Convert controls to dict
Replace control objects with plain dicts

The methods on the control class were only used in one place each, so
simplified by relocating them to those places.
Start creating a web builder interface
Switch web interface to AngularJS
Angular updates - split into partial templates
Prepare to show control tree