Schema can now be loaded asynchronously if supported by the browser (retrieval and reference resolution).  schemaObject option now just 'schema' and can either be a url or schema object.  Fixed error when leaving the page when the editor partially failed to init.  Fixed attribute/element count bugs caused when updating an element.