support for captions in photobrowser
added support for custom external links
small bugfix, added better comment
check class directly
renamed domObject to object, removed hasRel dom method, and changed rel matching code
changed object to html in photo browser
Merge pull request #118 from gordol/master

support for captions in photobrowser, and custom external links