Table caption for html, latex and pandoc

CF. https://github.com/yihui/knitr/issues/657