Support for ANSI escape codes.

Add support for the standard ANSI escape codes (colors only for the time being).
See http://en.wikipedia.org/wiki/ANSI_escape_code.

Also adds Add Xcode6-Beta compatability.