Implements yuidoc api generation and ammends comment typos.
Merge branch 'master' into gh-pages