yaml view def loader object converted to trait, def reading extracted (no hardcoded file and resource paths anymore)
yaml view def loader - sort typedefs by name to simplify tests