Add type annotations to as many types as possible in looknfeels

Issue #734 resolved
Martin Preisler
created an issue

Makes editor a lot more useful and makes attribute storage more efficient.

Reproducibility: have not tried