added check if input is not binary
fixed free() order for keysigs
generate keyid from pubs only, dont clear supplied passphrase (done in src)
finalized new export formats and fixed lots of bug introduced during last changes
update to new formats
added string buffer support
added yaml and perl pubkey export formats (c and python will follow)