Infobox improvements & fix to api.dom.composes

Allow infobox method to be passed html (e.g. so you can link from an
infobox).
Bugfix to api.dom.composes (as reported in #89)