Fixed sorting versions #60.

Refactor Bowerphp::getPackageInfo.
Its included to getting package tags.