Fix version check for pgp cards

Authored by aheinecke on Sep 12 2019, 1:59 PM.

Description

Fix version check for pgp cards

The check for card version 2.1 should have been only
temporary. Now it is a bit better by refactoring the
code in gnupg-helper for engine versions a bit so that
it generally works with string versions.

This is probably the millionth implementation of version
parsing but it works for me.

BUG: 411849