Support Single Table Inheritance in paper trail history

History is not shown for subclasses when using Single Table Inheritance with paper_trail, since paper_trail stores the name of the base class in the versions table.