[JENKINS-19565] Pass ${it} to contents of dropdownDescriptorSelector

This is fix for [JENKINS-19565] (https://issues.jenkins-ci.org/browse/JENKINS-19565).

When the contents dynamically rendered in `dropdownDescriptorSelector`, `${it}`, which is usually a instance of the project, is not passed.

This often causes problems especially for plugins wrapping other plugins.
For example, when used with [Flexible Publish plugin] (https://wiki.jenkins-ci.org/display/JENKINS/Flexible+Publish+Plugin), [Email-ext plugin] (https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin) fails to display options for mult-configuration projects.

And this adds `capture` parameter to `dropdownDescriptorSelector` as that of `hetero-list`, which allows pass also user-defined variables.
I agree that. This isn't related to the problem "${it} was not passed".
This is so old request and I don't remember why I added this commit in this request...

I suppose I changed to behave just as `hetero-list`, which treats `configPage` optional, and I think this is a reasonable change (maybe a one should be requested as a part of another issue).

Do you mean this change prevents this request from merged?