finish code and test

Tested locally and publish as npm module:

https://npmjs.org/package/bower-checker

I think this module is ready to use now.