ENH: Prototype code to record variables.
ENH: Recorded variables are now automatically attached to the daily_performance stats. Added record_variables method.
MIN: Minor refactoring.
ENH: recorded_vars are now included in perf_messages.
TST: Added unittest for variable recorder.