changed API calls for vmrole/deployment deletion to use comp=media
fixed terminate method: if only one VM in deployment delete whole deployment if more roles present delete only required VM
fixed getVirtualMachine to check for role name too.