Add analysis() function to ContestConfig

It activates a very basic and dirty analysis mode.