restapi: Add VM.cpuShares attribute to the API

This patch adds a new argument to the calls related to VM.
It is used to set the cpu allocation priority for the given VM.

Change-Id: Ieb42d5b132bcf7718f4c8e6162bbbc916ac24b99
Signed-off-by: Martin Sivak <msivak@redhat.com>