Fixed sorting versions #60.

Refactor Bowerphp::getPackageInfo.
And how is this related to "fixed sorting versions"?