Added entityName class method. Added some pragma marks (even though Xcode doesn't use them yet)
Changed self.dynamicType in the convenience init method to use the full class name (can't assess self before the call to self.init there)
Fix issue when using unordered to-many relationship