1. added group based filtering and search in document.
2. added contributor, attributor and type in advance search form of doc.
3. checking ownership of doc and server side.
Merge branch 'biodiv_usergroups' of github.com:strandls/biodiv into biodiv_usergroups