Completely revise approach of enabling implements/extends in texdoclet. Fix table of contents showing realizations and generalizations