Factorized code into CommonArguments.getSearchScope().

git-svn-id: https://svn.forgerock.org/opendj/trunk/opendj@10859 41b1ffd8-f28e-4786-ab96-9950f0a78031