VMware: add tests for image fetch/cache functions

Adds unit tests for the vmops image fetch/prepare/cache functions.
No existing tests are modified.

partial blueprint vmware-spawn-refactor

Change-Id: I913c7f5ecfec586ff79e2bc7ab1969a8824476b5
Merge "VMware: add tests for image fetch/cache functions"