refactor code
add g_object_unref
remove extra_version
add ghwp_document_check_version
add document to context