Add urlopen/URLError/pathname2url in urlutils

They are used by heatclent and other projects.

Close-Bug #1242453

Change-Id: I0ff1afbafa78b2e91b7c0cf833f449c31debbe16
Print the deprecated group/name for each option

In the config file generator, we should print the deprecated group
and name for each option if specified. This will help the users to
quickly find out what has changed.

Closes-Bug: 1223525

Change-Id: Ia4328b76ea626fd892a73ea6c4388203ef0b4b0e
Replace assert_ with assertTrue

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

This patch is a mere sed replace of one-liner assert_ to assertTrue.

grep -lR "assert_(" tests/* | \
xargs sed -ri 's/(\W+self.assert)_(\()(.+)(\)$)/\1True\2\3\4/'

Change-Id: Ic817bf32704adf2eb6ebbe67169625d65d49a9ad
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: I667e41df786c842ecffc6920b80319fd8b3487a3
Merge "Replace assertEquals with assertEqual"
Merge "Replace assert_ with assertTrue"
Merge "Add urlopen/URLError/pathname2url in urlutils"