CP-10203: XenAPI: api call for RDP on/off request
Update code to address the review comments.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>