Cleanup addRelatedAttachment() method to prepare for additional of related parts from browser data
Fix variable
Add IMP_Compose_Attachment#viewUrl()
Fix undefined variable
Fix function call