Allow attribute types to bei any combination of ISimple, IComplex and ITranslated.

This is needed for any hybrid attribute like select etc.
Change broken class constant.
Merge branch 'tng' into rework-sorting