Make cookbook url validation stricter.

Use validate_url for Cookbook URL validations to ensure that no nonsense is
present.
Merge pull request #243 from opscode/strict_url_validations

Make cookbook url validation stricter.