Import the URL form field with better code

(See https://github.com/joomla/joomla-cms/blob/master/components/com_contact/models/rules/contactemail.php#L12 )
Merge pull request #2 from wilsonge/patch-1

Import the URL form field with better code