Implement the ability to load cid and x-mailcore-images in the iOS demo

Sent as a pull request so that this can be discussed before merging into master.