Add graphics functional test.

Test of libvirt SPICE/VNC related features.

1) Block specified ports if required;
2) Setup SPICE TLS certification if required;
2) Setup VNC TLS certification if required;
3) Setup graphics tag in VM;
4) Try to start VM;
5) Parse and check result with expected.
6) Clean up environment.

This PR depends on autotest/virt-test#1841.

Signed-off-by: Hao Liu <hliu@redhat.com>