properly parse 256-color ansi codes
Initial 256 color support

Still has some issues with lower 16 colors, need to fix.