Define a jsdoc task and add it to build task

Add a new jsdoc task to generate internal js doc files.  This task is now added to 'build' task so that new doc directory gets generated every time build task runs.

@krulwich, @suprbh, @ceg1236 - please review.