Bug-fixes for the TypeNet implementation.
Move the TypeNet implementation into src/parse, where I want to use it to implement printing of type abbreviations.