extend document model for project, paper and patent; finish document feature for paper and patent