Allow CircleCI custom branches, and fix TeamCity

- Allow custom branches to be specified for CircleCI projects, and,
- Allow build identifiers not starting with `bt_` for TeamCity builds.