img: Rework images layout and use work-dir

We will put images on tempfs -- it's faster and more preferrable
for live migration. Logs, stats and other stuff shouldn't be there,
so it's handy to use work-dir facility for that.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>