Fix a bug which caused creation of empty images (and volumes) to crash. FIxes #995.
- Runtime: add regression test for issue #995
Merge pull request #996 from dotcloud/995-volumes-crash

- Runtime: fix a bug which caused creation of empty images (and volumes) to crash.