[FIXED JENKINS-22934] Show poll thread count option when necessary.

Old behavior:

* Show the option when `Jenkins` has more than 10 children.

New behavior:

* Only consider `AbstractProject`s
* Also consider grandchildren etc. (i.e. in other `ItemGroup`s)
* Also show the option when the currently configured value is not the default to prevent reset