[WIP] Team Head-to-Head and winning streak statistics

Hi Python gods, here's another n00bic step ahead for the team pages. Hope you like it, sorry for the complete absence of tests! I need a quick tutorial on that subject!