FIX - do not allow users search for resources pending submission from other users (except for admins)

git-svn-id: http://svn.montala.net/svn/resourcespace@4898 c08608d7-6e46-0410-86ca-f2a6f1370df5
FIX for last commit - typo (c instead of t)

git-svn-id: http://svn.montala.net/svn/resourcespace@4899 c08608d7-6e46-0410-86ca-f2a6f1370df5
FIX make last commit configurable by $pending_submission_searchable_to_all

git-svn-id: http://svn.montala.net/svn/resourcespace@4900 c08608d7-6e46-0410-86ca-f2a6f1370df5