Get the accessor class name from the schema rather than the className method

Calling [objectClass className] returns the parent class's class name rather
than the current class's if the parent class is initialized before the child,
and the order that they're initialized depends on what order a dictionary
happens to be enumerated.
Merge pull request #966 from realm/tg-subclass-name

Get the accessor class name from the schema rather than the className method