start jsdoc rehab
move out jsdoc api templates etc
move out spec generation code
jshint
Merge pull request #1711 from shackbarth/jsdoc

issue #24067: split out jsdoc