encode recursively, and also encode css urls
Handle relative links in urls for encode
Fix css which was causing a tocify bug, reformat knitr_bootstrap