etcd: inject keypair parser to speed up tests
Merge pull request #718 from jonboulle/slow_etcd_tests

etcd pkg tests taking too long