made color an internal function and refactored formatErrors into formatSummary
extract console summary into an internal function
added spec formatter