Goal templates, shortcodes, permalink output.

Added templates for goal overview, single goals, short codes for
tooltips and accordions, and cleaned up output of permalinks across
multiple templates.