Add 'named callable' rules to Form validation library

Requested in issue #3183
Supersedes PR #3220