[DDMD] Convert all structs using inheritance into classes

This is essential as structs and classes are mangled differently, and to use inheritance in D they must be classes.

This pull contains a lot of changes, all similar.