CLOUDSTACK-4649
       use the same virtual hardware platform in XS 6.2 as that in XS 6.0.2
CLOUDSTACK-4641: fix create volume from snapshot timeout issue
CLOUDSTACK-4645: There is no upgrade path from 4.1.1 to 4.2.0

Adding upgrade patch for 4.1.1 to 4.2.0
simplified casting

double values do not need a Double object to be casted to long

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Min Chen <min.chen@citrix.com>