Migrate colors to a class, add PS1-specific escaping.

See #43.
Merge pull request #46 from Impromptu/fix-colors

Migrate colors to a class, add PS1-specific escaping.