Add ability to run console commands when a team wins (fixes #9).