Add href locations to html_dependency

htmltools will need to be used in contexts where dependencies exist
not on disk, but at certain URLs. This commit introduces explicit
href locations to HTML dependencies.

Also these minor changes:

- html_dependencies_as_character now uses dependency name and version
  as subdirectory name when copying to lib dir
- Perform URL escaping on dependency filenames