Fix winner selection in static knockouts

I'd not noticed that the ranking returned by get_ranking is ordered
in reverse compared to what would usually be expected (ie the winner
is at the end of the list). Reverse the list before looking up the
team at a given position to give the right behaviour. Add tests for
various stages through the knockouts which showed this bug.

Change-Id: Ic63dbed07a4462592d8ff8e65d0f8735e1ffe0d3
Avoid proliferation of ???.

Switch to using the named constant instead.

Change-Id: Icc203eb15faa365c868df54ddef44c125266b45f
Add a test for the state before static knockouts start

Add in a league match to the schedule of this test so that it
thinks the league is still underway, and thus assert that all the
teams are then unknowable.

Change-Id: I93a51d837d4865800f7bfbe12fe22b3913ab61cb
Merge commit 'refs/changes/04/1604/1' of https://www.studentrobotics.org/gerrit/comp/srcomp into smallpeice-2014