Use #sti_name rather than class.name for belongs_to associations.

Adds support for mapping polymorphic type column values into classes
via a callback.