Fix Clear Case popen problems on Python 2.7.x.

On Windows 7, using Python 2.7.x, Clear Case would pop up a console
window every time popen was invoked. We now change the shell= parameter
depending on whether we're running Windows 7 and Python 2.7.
Merge branch 'release-1.7.x'