Add rake task to invert semi finals

This PR adds a rake task to invert teams on semi-finals matches