Add pre_run()/post_run to AnalysisVariation

These methods may be called once by a driver before/after
the entire event loop runs.