Bug #3128: noVNC not working properly in Ruby 1.8.7

(cherry picked from commit 01d308c171a1f9b7b4d921ca69cdf2e7d3c0f283)
Update vnet xsd files

(cherry picked from commit ee14b1a4a9859a87179064ca0e264edcf3b557d8)
Fix typo in managament_endpoint Azure

(cherry picked from commit 0060651c4e5b4332589881b556f7b7b0b9aaf2b0)
bug #3140: removed not defined variable
Only move VMs to poweroff when monitor is 3*monitor_interaval from RUNNING start time

(cherry picked from commit 4236b0f2288b4eafc50e8315f4640a70a984f96f)
Reduce power-off threshold to 2*monitor-period

(cherry picked from commit f902ac76e872648475aacca1d10c8d5781399dbb)