Add text color abstraction to help with testing.
Add tests for RPInfo.foregroundColor() function.