ct: Add basic data structures and serialization routines.

This is to prepare for the implementation of Certificate Transparency in
conscrypt. These structures are described by RFC6962.

Change-Id: Ic2b53a1ac009d58fc0e6ca23b8d9170d921f715c
7 files changed