Support subclassing RLMObjects

Does not support polymorphic behavior.

@tgoyne 
Ok, I was confused by the wording. I'll try to think of a way to clarify.