Refactored LabeledKeyPair

Now saves to YAML files/strings, and has working equals() implementation
Also has unit tests