move state to reporter
convert reporter to attributes
factory method to pick notification
wrap up rerun_commands to notification
collapse examples notifications
set console codes to be default arg
changelog for #1531
Merge pull request #1519 from rspec/extract_formatter_state_to_reporter

Extract formatter state to reporter