BF/RF: create SingleBranchSchedulers per each branch linking them to specific builders

Is done with the hope that changes in a branch will be sent only to the corresponding
buildslaves, and not all of them for that project
BF: to create a function to compare against target branch we need a 'closure'

Use nested function to get an effect of closure.  Should fix builds not running
for fail2ban