Reject invalid subclassing of RLMObjects at schema generation time

Rather than producing weird errors and bizarre behavior when they're actually used.

Remove the unit test which was testing them since there's no way to have an invalid subclass for just a single test.

@alazier 
I'd prefer a while loop here