Flexibly inherit fields following method resolution order.

Allow schema subclasses to inherit fields from plain base classes.
Inherit fields according to MRO rather than recursing over bases.
Add tests for above.