basic implementation of validation levels

Closes #6213
I think using strings to store in soledad is ok. But maybe we should expect an enum here and make the conversion in a lower level (as, for example, in `leap.keymanager.keys.EncryptionKey.get_json()`)?