[kennethreitz/requests#1208] adding a max_retries argument
[kennethreitz/requests#1208] adding unit test for max_retries
Merge pull request #1219 from Wilfred/master

Adding max_retries as an argument