Added support for negating branch check

This change allows the specification of branches in negated form, ie. "checkbranch:!master", to allow any branches except the specified one. Useful when there are many branches that require dev tasks to run.