src: replace dependency on colors module

New colours also happen to better match the original Foreman colours.
console: Parameterize console for better testing
test: Add basic tests for console logger