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