small fixes to tmpfile handling for key from stdin
Fixes to GnuPG 1.4.11/1.4.12 result parsing

GnuPG 1 changes behaviour across 1.4.11 and 12 minor versions
when it comes to --status-fd and messaging on stderr/stdout.

This is a fix to make sure that gpg output is parsed correctly
Merge branch 'gpgfix' for gnupg result parsing and stdin keys