Allow manually specified dependencies (via extra_dependencies)

This change adds a format option to HTML-based formats that allows extra dependencies to be added to the document (other than those required by its format and discovered during render). 

The RStudio IDE will use this option while rendering Shiny documents to inject a script that gives the parent window the ability to view and change the scroll position and anchor of the Shiny document (even with non-matching origins).