Unify handling of redirects, etc. for validation of URLs

As mentioned in #115 

As a Ruby apprentice, I am wondering if this looks good as module. 

The other thing I am wondering about is how to use it properly from the CocoaPods' validator. I replace the `warning` calls with `UI.warn`, which doesn't make them available as validator results correctly. How would I do that?