Add subclass matching to serializer field mapping.
Traverse the method resolution order when mapping serializer fields.
Add utility function to match classes in dictionary.
Generator implementation of class mapping.
Merge pull request #1818 from tituomin/serializer-subclass-mapping

Better mapping for custom model fields to serializer fields.