Add team form to the league tables

This parses the results for the competition to extract the previous 5
matches for each team. This gets used to display the team's current
form by showing if they won or lost.