Add initPhotoFailed initPhotoEmbed
Add initPhotoFailed initPhotoEmbed

Add two helper functions and use them throughout.
Unify failed image loading handling.
Use initPhotoEmbed, save lookups post createDiv() by saving embed url.

utopiabound/redditp,utopiabound/redditp