Add script build_branches.sh

This is used for test.adagios.org to build all branches