Make the transition function do somethin quasi-reasonable. [2/2]

The transition function now does not die horribly.

It does not work, but at least we have a base to work from now.

Also fix up the routes to make the dashboard work again.  Someone who
knows the UI in greater detail should make the synchronized API and UI
changes to put these utility routes in their right place.


 .../provisioner/templates/default/control.sh.erb   |   48 ++++++++---------
 updates/control_lib.sh                             |   55 +++-----------------
 2 files changed, 29 insertions(+), 74 deletions(-)

Crowbar-Pull-ID: adc72af6083a5bcefd8c0ba8b0bd5d63a2511bac

Crowbar-Release: development