Handle feature branches in test-matrix.py

test-matrix.py previously treated feature branches as invalid branches.
For testing purposes they are equivalent to master so s/feature*/master/
and build the services list that way.

Change-Id: Ia40ae64ae6907691cc061c41dc6fe56c646918cc