Pull in pexpect issue#39

See discussion in https://github.com/pexpect/pexpect/issues/39
hiding our secret SelfWrapper attributes a little more
updating copyright
Merge branch 'patch-1' of git://github.com/ecederstrand/sh into release-1.10