fallocate image only when user has write access

Libvirt will change instance's ownership when the instance became power
off which will make nova-compute service unable to hard reboot instance
bacause the nova-compute service has not write access. This commit will
allocate space for image only the first time we create image.

fixes bug 1200113

Change-Id: Id81b09ade5f870665f5ffabab3cde144c6dec210
Merge "fallocate image only when user has write access"