state: machines & related collections now use env UUID based ids

The following collections are now using environment UUID based document ids in preparation for multi-environment support: machines, containerRefs, instanceData & reboot.

http://reviews.vapour.ws/r/175/diff/