Extract colour support to helper

Colour code lookup is now implemented in a seperate module.
support extracted color codes in legacy formatters
Changelog for #1377
[skip ci]
docs for console codes
[skip ci]
Merge pull request #1377 from rspec/formatter_extract_console_helpers

Extract console helpers from Formatter