allow branches for both dependent repos to be specified

Branches may not want to build against the same branch name across core-firmware, core-common-lib and core-comms-lib. This change allows each branch to specify in the travis.yml which branches are required.

The default is to use the same branch as the one in core-firmware, but this can be changed per branch.