update url_detector to use url module
Merge pull request #22 from zacheryph/make-url-detector-more-robust

Instead of using regex for parsing, use regex to detect a possible url and try to parse it using the url module.