Refactor lookup command and partially fixed #72.

This PR refactor Bowerphp::getPackageInfo() - partially. 
I'm not telling that current convention is better than others, but it's *current*.
So, please stay with it.
If, later, you want to create a PR refactoring *all* tests, you're welcome.