Introduce 'retry' option

Add a 'retry' option which allows to configure how many
retries pip should make before giving up on HTTP request.

When the retries count is specified by user, its value is
passed to HTTPAdapter from requests which handles all
the underlying operations.
Merge pull request #1444 from novel/retries

Introduce 'retry' option