Refactor lookup command and partially fixed #72.

This PR refactor Bowerphp::getPackageInfo() - partially. 
Can you please stay with current convention? No ``@test`` annotation.