bug fix: Add graphics of vm in API.md document

Now kimchi do not support spice display.
But we allow kimchi to manager VMs created by other vm managerment tool
If the the VMs was created with spice graphics, we will set the type of
graphics is None

bug: https://github.com/kimchi-project/kimchi/issues/35

Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
add an attribute to get graphics of vm in model and update test case

it can get graphics type and port
UI should disable the display when the type of graphics is not VNC

Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
Signed-off-by: Bing Bu Cao <mars@linux.vnet.ibm.com>
add graphics in mockmodel

mockmodel expose graphics with two items type and port.

Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
Signed-off-by: Bing Bu Cao <mars@linux.vnet.ibm.com>
Reviewed-by: Adam Litke <agl@linux.vnet.ibm.com>
update UI to get connect graphics

The type of graphics will be None or VNC at present
If graphics type is None, UI should not connect the graphics.

Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
Signed-off-by: zhoumeina <zhmeina@cn.ibm.com>
Reviewed-by: Adam Litke <agl@linux.vnet.ibm.com>