Database: all types can now be serialised via sexplib

This is intended for debugging only.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>