Transform print statement to print function

Partial implement: blueprint py33-support

Change-Id: Ieed61447746bc5f598dcdfa89362aaa93f7c0dec
Replace urllib/urllib2 with urlutils

The update of urlutils is same as follows:
https://review.openstack.org/#/c/52875/

Partial implement: blueprint py33-support

Change-Id: Iac43acd616504ede12bcdb4df15e32bb636a09c6
align the order of parameters for urlencode()

In Python 3.3, hash randomization is enabled by default. It causes the
iteration order of dicts and sets to be unpredictable and differ across
Python runs.

In the test case, the fixed expecting string will not match the test
result, it is relying on the dict order.

This change transforms the input dict to a sequence of two-element list,
with fixed order, and exchange the order of "limit" and "marker" for
expecting string.

Partial implement: blueprint py33-support

Change-Id: If9c25fb0d457b31034111e7e879f1f95a576a78f
remove python 2.5 support for parse_sql

Python 2.5 is not supported anymore, remove the obsolete code for parse_sql.

Close-Bug #1243418

Change-Id: Ib87bde26a9b44555a36e3831f6aa33a6b3a4ba21
Merge "align the order of parameters for urlencode()"