Custom "Clownfish" test formatter

Will be used for the C bindings.
Add some documentation
Consolidate test formatter code into a single file