converted SchematicsDocument constructor to match Schematics Models; added an EmbeddedDocType to allow CouchDB friendly embedded documents
fixed conflicts