don't require document iri when uploading an ontology (closes #242)