Added function to calculate userdata to CloudStackClient module. Added
more options to VM deployment.