Fixed typo in YUI install command
Updated readDirSync funciton
Added coverage to tests
Improved code coverage and added travis config