Add support for oembed photo and rich resource types. Add some jsdoc.
Add flickr embed example