(PDB-747) Initial schema for structured facts support

This patch adds an initial schema for structured facts support.

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-708) Structured fact storage

Here we add the initial work required to start storing structured facts in
its new schema.

Signed-off-by: Ken Barber <ken@bob.sh>