Skip ipv6 tests on system without ipv6 support

On system without ipv6 support, CONFIG_IPV6 disabled kernel for
instance, WSGI service testcases for ipv6 would fail for "[Errno 97]
Address family not supported by protocol".

Since there is no easy way to detect actual ipv6 support,
socket.has_ipv6 not working for this case, simply skip ipv6 tests if
errno.EAFNOSUPPORT happens.

Fixes: bug 1174404

Change-Id: I9fa8653f5ccfbcb8c31c51bfda137cb58388afde
Put VM UUID to live migration error notification

If live migration encounter some exception before nova scheduler
cast message to nova compute, nova scheduler will set the VM state
to ERROR and send notification, but the notification do not include
VM UUID, this might cause some problem if some components want to
handle the notification since those components will not able to know
the VM UUID about the notification.

The solution is add UUID to live migration error notification so other
components can get the related notification correctly.

Fix bug 1182117

Change-Id: Id101f9e2a689a02d1604c12cd7677e0975bd7428
Refactored tests for instance_fault_*

Moved tests to separate test case
Improved test assertions

blueprint db-api-tests

Change-Id: Id0ac41520bd6b4161f9ad4c72dfb702592733975
Remove usage of locals() from manager.py

fixes bug 1171936

Change-Id: Ic137327b8637104cd4b330850becd80ba20c1e1c
Merge "Put VM UUID to live migration error notification"
Merge "Refactored tests for instance_fault_*"
Merge "Remove usage of locals() from manager.py"
Merge "Skip ipv6 tests on system without ipv6 support"
Merge remote-tracking branch 'm_src_repo/citrix-fixes' into build-temp