Added fix to import headers for entities that have a parent entity in the model or parent class that is not part of Foundation or Couchbase.