Refactor -- make ui passive watcher, control a passive test list.

Lifted control logic into a library and made the user-editable
control file into only a simple test, with no executable code.

Eliminated all runtime non-startup communication between the ui
and the control process.

Generally made code more self-documenting.

BUG=chrome-os-partner:537,334

Change-Id: Ia80723585ba4dfbea11d24374467e0d57bc73469

Review URL: http://codereview.chromium.org/3104020
6 files changed