Adding caption and title support

Also fixing a namespace issue with how the synthesis of fig was done.
Synthesis needs to translate content into new namespace (usually)