use validator module instead of URL validation regex

fixes #14