added testStructureCastToNumeric
TermFormatter added - resolves #39

Means that KnowledgeBase no longer relies on
org.projog.core.function.io.Write.