Break pre-migration environment UUID chicken-and-egg scenerio

Multi-env state server related migration steps were relying on
functionality that needed upgrade steps to have run (so that
st.Environment() worked). This hack does just enough to allow to let
the upgrade steps run on the master state server.

Fixes LP #1370635.
Merge pull request #787 from mjs/stateserverinfo-uuid-premigration-hack

Break pre-migration environment UUID chicken-and-egg scenerio

Multi-env state server related migration steps were relying on functionality that needed upgrade steps to have run (so that st.Environment() worked). This hack does just enough to allow to let the upgrade steps run on the master state server.

This fixes LP #1370635.

@howbazaar may have a view on how to solve this differently but this fix solves the upgrade issue seen in CI and by users until he's back in.

http://reviews.vapour.ws/r/56/diff/