Adding support for "permalinks"

The WAI-ARIA recommendation (http://www.w3.org/TR/wai-aria/) has these nifty "permalinks" at each heading level.  In converting the WAI specs over to respec, I thought this would be a worthy addition to the core.  Note that it is controlled with the switch includePermalinks, which is by default false.