Properly handle transport:///vhost URL

Currently, if we are supplied with a transport URL with only the virtual
host specified, we completely ignore it. Instead, the behaviour should
be that we use that virtual host with the host, port and credentials
from the config file.

Change-Id: Ic97aa511ddf9bce69b1a5069d9f6468f4bd6dd4c
Replace assertEquals with assertEqual

The method assertEquals has been deprecated since python 2.7.
http://docs.python.org/2/library/unittest.html#deprecated-aliases

Also in Python 3, a deprecated warning is raised when using assertEquals.

Change-Id: Iba0ae72e72470cdf5b122defcd68effc5434f948
Updated from global requirements

Change-Id: I7080ecd84738030e9143f6b313522e2e5ebf6540
Merge "Replace assertEquals with assertEqual"
Merge "Properly handle transport:///vhost URL"
Updated from global requirements

Change-Id: I8275dd8bfd72d3a71d9606f8822a778023c1f0b9