Added support for NSManagedObject subclasses

If you want to create a NSManagedObject subclass you'll get an error 'coredata: error: failed to call designated initializer on nsmanagedobject'