More dependency work

- Documentation
- copyDependencyToDir now returns dependency with absolute path
- makeDependencyRelative now errors if dependency is file-based but
  a relative path from basedir can't be found
- Rename renderDependencies pathFilter parameter to hrefFilter