Fixed sorting versions #60.

Refactor Bowerphp::getPackageInfo.
Please do not commit composer.lock, unless you updated composer.json as well