Add YSCoreTextAttachmentProtocol
Refactor for Attachment class
Add contentInset and contentOffset to Attachment