Fixed a bug where a schema containing a sub doc cannot be extended.
Merge remote-tracking branch 'motherinc/master' to get owl-deepcopy fix for sub docs.
resolved merge conflict