import knit_print from knitr, and declare S3 methods explicitly

I still feel a little bit uncomfortable by the fact that we abuse the S3 system by exporting the methods as normal R functions. Considering the role of knitr in this package, I'd propose importing knit_print, but I'm also okay with the current hack.