Unimplemented pause should not change vm state on PowerVM

The instance of PowerVM does not support pause, but
after pause the instance, the state change to PAUSED,
it's unreasonable.

Change-Id: I4fb184388c37ea8708cdacc173dc1b2dbd4d1597
Fixes: bug #1202082
Code dedup in test_libvirt_vif

- externed common assertions to methods
- externed common parts to methods:
  - description of net data
  - description of mappings data
  - creating fakelibvirt connection
  - creating libvirt configuration
  - getting node from xml

bp nova-tests-code-duplication

Change-Id: Id12e196519473cce27a998e37f33ce584f703a4f
Fix parse_transport_url when url has query string

In python < 2.7.4 the query string from an url is only parsed for the
schemes that the module knows about (not including 'qpid' and 'rabbit').
This behaviour was changed in python 2.7.4 and now it parses the query
string for all the schemes and doesn't appear any more in the path.

This change makes sure that we look for the query string in both members
(query and path).

See http://bugs.python.org/issue9374

Fixes bug #1202149

Change-Id: Ic6afbe7b431e3eb9ff28d3c9b3fa35a52efb3fb6
Merge "Fix parse_transport_url when url has query string"
Merge "Code dedup in test_libvirt_vif"
Merge "Unimplemented pause should not change vm state on PowerVM"
Merge remote-tracking branch 'm_src_repo/citrix-fixes' into build-temp