Enclose command args in with_venv.sh

Sync tools/with_venv.sh from oslo, it will support argument with
blanks.

Closes-Bug: #1220937
Change-Id: Id10528efcdd1abad3009c13f2c5bde6dcf172520
Sync gettextutils from oslo

Add type check for Message params when setting locale to avoid
AttributeError.

Fixes bug: #1229364

Change-Id: I6fe55ebc4eea5fef1d335ad83a84c4879f7f06f9
Merge "Sync gettextutils from oslo"
Sync with global requirements

And more importantly, get rid of d2to1 references.

Skipped test-requirements because of webtest and I need the d2to1 change
in.

Closes-Bug: 1233362
Change-Id: I570fed1de8b9fbef168cf1ecfc6f62ae842820e1
Merge "Sync with global requirements"
Merge "Enclose command args in with_venv.sh"