Support config.templates.linenums

This option allows to show line numbers on source code.
The option is the same as used in https://github.com/terryweiss/docstrap
A better template for exceptions

Instead of a non-styled dd/dt template, called for each exception, call
one template with a table for all exception, using same styles as
params: type and description
Removed navigation items switching place

Moving navigation items to the top when selected becomes very confusing. I removed the code that caused this to improve usage.
Prevent doclet paths from being shortened twice

Prevent doclet paths from being shortened twice.

Solve: issue #23 (equivalent to jsdoc3/jsdoc#514)
Based on: jsdoc3/jsdoc@f958ab0
Expands list item to hold "static" badges for long item names
Escape HTML in code examples
Merge branch 'better-exceptions' into twidi-current