Add constants to hierarchy and index HTML templates.
Updated docset templates to newer appledoc versions.
Add constants to object HTML template.