package daemon: Move Volume::State to top level

... and rename it to VolumeState.
Move Volume::CommitTransactionHandler to top level

Also move constant definitions to Constants.h/cpp.