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. 
We don't use this convention anymore. Just use ```this.cleanAttachmentURI = function (uri) {``` below.