Move common data to ProfileWriter
Rename ProfileWriter* to StatisticsWriter*
Rename self_time() to GetSelfTime()
Add total profiler run time to stats output