Implements yuidoc api generation and ammends comment typos.