Extract profiling to notifications + formatter
use formatter loader to configure profiler
use formatter helper to run notification (makes it less deterministic on time)
Changelog for #1515
[skip ci]
dont load profile formatter when an existing formatter implements dump_profile