fixed transformer type recognition and added string to enum transformer

The TypeTransformer implementation did not allow for distribution of the type parameter in different inheritance levels.

This PR fixes this behaviour and adds a StringToEnumTypeTransformer which can be extended for simple Enum transformations.