live_snapshot code cleanup

Use live_snapshot function in framework to instead some duplicate code and drop utils_misc module since it imported but not used really; update tmp dir in test configuration to avoid file lost after reboot when tmp used tmpfs;

Thanks,
Xu