libytcd: Add signing and key support

Note that this was written on an airplane and I didn't get the testsuite
to pass
Fix looping bug in printing ecdsa keys
Stash working debug progress
Merge branch 'crypto'