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"