Main Class
Module creates the YUI instance with the required modules, uses them and exports the Y to be used
by the CLI class or by extenders: require('yuidocjs');
You can use it like this:
var options = {
paths: [ './lib' ],
outdir: './out'
};
var Y = require('yuidocjs');
var json = (new Y.YUIDoc(options)).run();