URL Validation function and unit tests

-The url_validator function added to functions.py (shortener).
-Unit tests for the url_validator function added (shortener).