Fixed the detection of the color support in the installer

- support colors on Windows in ConEmu
- make the detection work without the posix extension. Closes composer/composer#2374
Merge pull request #56 from stof/patch-1

Fixed the detection of the color support in the installer