Make TeamScore comparisons richer.

Replace the equality comparison with a comparison and add tests.
This will allow these objects to be compared directly, rather than
needing each user to implement their own point sorting logic.

Change-Id: I2ca1ecf380b2f08933b3ac63216d58f9478c61ed