uutils: introduce CertificateChain

Chain related utilities.

Change-Id: I20fd6ea1436f22eae40c572f8fbed5d13391ffbc
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>