Auto-link h2s with ids in documentation.

Adds a permalink icon, its source, and behavior to the docs site. The docs will need to be extensively edited or generated in a smarter way in order to provide sub-section linking.