Move string formatting to Coveralls::Output module

Refactored and added documentation as well as specs for handling string
formatting via Term::ANSIColor.