Link URI re: issue 486

The proposed changes address the silent failing of adding a link to an unrecognized URI. They allow the user to correct any potential mistakes made to the initial address through a prompt dialogue. 
This does need to happen first. If user cancels, `input.value`is `undefined`, `url.trim()` will throw from `clean AttachmentURI`