First working implementation of links to other objects - ThesaurusType and ThesaurusFormat are now working; added javadocs and tests.