Refactor image fetch code for attachments.
Refactor image fetch code for attachments.

wordpress-mobile/AztecEditor-iOS,wordpress-mobile/AztecEditor-iOS,wordpress-mobile/AztecEditor-iOS,wordpress-mobile/AztecEditor-iOS