Enabled class_name constantization on access

This fixes an issue where, in certian edge cases related to
Rdf::Identifiable, a class_name can be specified and used before the
class is defined.