Make os install more reliable

This pull request makes operations around provisioner state transitions more reliable by having the provisioner write a marker that contains the boot environment it last configured for a node in response to a bootenv change.  One of the effects is that we can get rid of some of the magic that happens when we want to install an operating system.