Validate RLMArray's protocol rather than crashing horribly if it's invalid
Throw an exception when a nested RLMObject subclass is found
Add a test that will fail when the Swift name mangling changes
Merge pull request #1043 from realm/tg-nested-class-check

Add checks for nested Swift classes
Speed up creating RLMRealm instances on background threads

Cuts the time taken to create RLMRealm instances when there's already an
instance on another thread by over 80% (25ms to 4.5ms on my iPod touch with the
extremely large test schema).