Moved HTTP code to its own module.
Keep houndci from barking.
Moved private helpers to the bottom.
Added specs for HTTP module.
Fixed code style offenses.
Fixed handling of relative redirects.

Thanks @kylef!
Merge pull request #116 from CocoaPods/feature-url-validation-module

Unify handling of redirects, etc. for validation of URLs