Tests for jsdoc/util/ files.

Added some tests for the files in jsdoc/util, and a couple of minor bugfixes uncovered along with those tests

- jsdoc/util/doop: added tests
- jsdoc/util/templateHelper: added test
  * IMPROVEMENT: in `getAncestorLinks`, the direct parent has the suffix punctuation made part of the link.
        e.g. `~Henchman#` would be `<a href="asdf.html">~Henchman</a>#` but should be `<a href="asdf.html">~Henchman#</a>`
  * BUGFIX: `{@link constructor}` and `linkto('constructor')` should be careful not to link to (say) `Object.constructor` (use `hasOwnProp`)
  * BUGFIX (tutorial/resolver, util/templateHelper): be careful about tutorials with names that are reserved JS keywords (e.g. 'constructor'). Added a couple of tests to the tutorial files for this too.