added search term to data model
added search by term to cmd documents
fixed problem with creating new cmsDocuments
added search by term