Some refactoring. More generic solution for Folia Class Hiearchy


git-svn-id: https://ilk.uvt.nl/svn/sources/libfolia/trunk@16262 12f355fe-0486-481a-ad91-c297ab22b4e3