Add support for parsing ANSI colour escapes.

GitHub issues: closes #2.