TRUNK-3675 Cache results from getSearchLocales()

This needs to go. See above.