Fixed sorting versions #60.

Refactor Bowerphp::getPackageInfo.
These space changes are unrelated to PR. Please keep it out.