Remove unecessary require.
Remove unecessary munging.
Simplify vm operations.
Fix power state bug when cloning vm.
wip
Fix vm power issues.
Merge pull request #24 from nanliu/vm

Fix vm resource type