deprecate SearchParameters.getScope
(cherry picked from commit 302967b) [r=Maxim.Mossienko]
java & python: use effective search scope instead of the user-defined one
(cherry picked from commit 619c2df) [r=Maxim.Mossienko]
groovy method usage search: use effective scope
(cherry picked from commit e30a87c) [r=Maxim.Mossienko]