Plugin will look for package.json after not finding bower.json

Did some refactoring. Added tests and new test fixutres.
Added tests for package with no bower.js but with package.json
fixed indentation
Merge pull request #5 from nkijak/master

Plugin will look for package.json after not finding bower.json