Stateserver doc initial uuid

Store the uuid of the initial environment in the state server document collection.

The machine ids stored in that document only make sense when linked with an environment.  This seems like the sanest place to store the uuid of the initial environment.

Well, I happen to know that the test setup calls state.Initialize, which asserts that the config UUID is not empty, so I don't bother checking that here too.