Fixed a bug where a schema containing a sub doc cannot be extended.

It seems that there was a problem cloning the parent schema. The cloning module owl-deepcopy seems to work fine in place. This addresses issue #2