Improve version parsing even more

This should handle a lot of freaky package version variants out
there and still be able to properly tell if one is newer or not.

Signed-off-by: Christoph Kassen <c.kassen@telekom.de>