Bug 1055010 - dumpkey.py: support key versions 1,2,3,4. r=mwu

nit: extraneous parens around `algorithm`.. if you want a tuple you should use `(algorithm,)` also same below on line 76