Fix to run on Windows platform.

Removes pty module dependency. Because pty module
is unavailable on Windows platform.
Uses pty module to capture colored text from Sphinx.

If pty module is unavailable, captures text from pipe.
Merge pull request #11 from mikanbako/bugfix/run-on-windows

Fix to run on Windows platform.