cleaned up the code
fixed bug with multiple licenses objects not showing
fixed special case when an empty array is passed to license/licenses
Merge branch 'master' of https://github.com/davglass/license-checker
Merge pull request #4 from badunk/refactor

Some code refactoring and bug fix for empty array