Change type attribute of URL tags from text to url.

When editing a location, several of the form inputs were set
to type 'text'.  Here we changed these to type 'url', and also
changed the relevant tests to look for type 'url'.