Revert "Use new htmltools API for dependencies"

This reverts commit 1ed7cb88e7ae4758adb884a3198dde570518abbb.
Revert "add htmltools dependency for rmarkdown"

This reverts commit 176b4baf9ab0250410bd16e153d0409ea83a8e31.