Add event listener for flush begin, compaction begin and subcompaction begin/completed. Signed-off-by: tabokie <xy.tao@outlook.com>