started big refactoring. FoliaElement is a virtual base class now.
Breaks the ABI, not the API.
should to a cleaner interface....


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