[Bug 38374] option to disallow selecting the top-level category

(new config option $wgSelectCategoryToplevelAllowed)

Change-Id: I60d66b9401451cf1e566020d28cb78fa7854512a