VMware: spawn refactor enlist image

Refactor code to mark the cached image to be in active use into a
method in the image cache.

partial blueprint: vmware-spawn-refactor
Change-Id: Ib057f794f5a3a214811e55bb5f8c23d4767e4594
Merge "VMware: spawn refactor enlist image"