Detect if a nicer progress bar can be used, and use it if so

Conflicts:
	pip/utils/ui.py
Merge pull request #2231 from dstufft/unicode-bar

Use a nicer progress bar if possible