refactor text classes into base classes for text based entities
fix FS#902 - Reduced font selection not working as expected
fix FS#904, add block attribute definition entity

FS#904 - Crash when inserting some blocks from part library