As uploading image, it will compress the vdh file and generate the
gzipped tar file. This commit will change it to use default compress
level as 6; and also allow the API's user to specify a customizing
compress level basing on demand.
Change-Id: If343326d7a501b25662fecb0b57d7637acabe250