Moved up check to see if 'repo' was valid before calling the lower() method on it.
docs: Update makefiles to current Sphinx version
docs: Remove references to django-compressor
Proposed fix to #1180 (and maybe #932 & #1104)

This is a rebased final version of a proposed solution to fix
issues #932, #1104 & #1180. Following changes have been done:

* Implemented a new class `PipXmlrpcTransport` using a
  contained `PipSession` object.

* Modified the `pip/commands/search.py` to make use of the
  `PipXmlrpcTransport` class.

* Properly initialized options for testing `SearchCommand`:
  - Changed `options_mock` to an `options` object built from
    `parse_args`, to properly initialize default options.
Close requests session in `search` command

* Added a `with` block to handle `session` life-cycle. As commented
  in #1902
Passing headers per-request in PipXmlrpcTransport

* Changed `PipXmlrpcTransport` to pass headers at request scope
* Added summary line to the changelog
Merge pull request #1902 from tnotstar/develop

Proposed fix to #1180 (and maybe #932 & #1104)
improved ability to install into non-ASCII directories
Merge pull request #920 from wcerfgba/patch-1

Incorrect operation sequence in bzr-handling code
Fix pep8
install -d works on vcs links fix #798 fix #1060
remove duplicate 'if cr == (0, 0):' in get_terminal_size
Merge pull request #1941 from mekarpeles/I1939/hotfix/duplicate-code

remove duplicate 'if cr == (0, 0):' in get_terminal_size
minor fixes to changelog
Raise NotImplementedError (not NotImplemented)

NotImplemented is a singleton intended for use in __eq__ methods where comparison is not possible for some reason.
Merge pull request #1947 from mjg123/patch-1

Raise NotImplementedError (not NotImplemented)
Merge pull request #1627 from techtonik/develop

Update sphinx-generated doc build files
Revert "Merge pull request #1519 from dstufft/remove-dependency-links"

This reverts commit da02f073dabdc9e72733847aa1727ec19869109d, reversing
changes made to 2ad8888901c041b8f9aacebb3a16d55bf631e867.

Conflicts:
	CHANGES.txt
	pip/commands/freeze.py
	pip/commands/list.py
	pip/commands/wheel.py
	pip/index.py
	pip/req/req_set.py
	pip/vcs/subversion.py
InstallRequirement.url should preserve the initial value for from_line requirements
a functional test for non-editable vcs installs