[pip/req] added _strip_postfix, _build_req_from_url, _build_editable_options. Not parse_editable returns package,url, options
[tests] added test for subdirectory editable options
[pip/req] editable_options defaults to None
Merge from upstream project
[docs/usage.rst] added example of subdirectory installation
Added subdirectory editable options changes to CHANGES.txt
Merge remote-tracking branch 'pip-orig/develop' into develop
Merge remote-tracking branch 'niedbalski/develop' into subdirectory-editable

Conflicts:
	CHANGES.txt
	tests/functional/test_install_reqs.py
	tests/lib/__init__.py
	tests/unit/test_req.py

Additional work - refactored tests to new style.
Fix deleted brack
Fix test_log on Python 3, StringIO module is no longer available
Get rid of backwardcompat.fwrite() as it doesn't do what it seems to...
Python 2.7 io.StringIO is text-only, use backwardcompat
Merge pull request #1224 from pfmoore/stringio

Fix test_log on Python 3, StringIO module is no longer available
Merge pull request #1215 from pnasrat/subdirectory-editable

Merge subdirectory editable feature
Merge pull request #1218 from qwcode/issue-1192

fix for #1192
merge from 1.4.X