Update to the new PyGILState APIs to simplify and correct thread-state management.  Old code still #ifdef'd out - I may remove this in a sec, but for now, let's get it in and things passing the tests again!
Update to the new PyGILState APIs to simplify and correct thread-state
management.  Old code still #ifdef'd out - I may remove this in a sec,
but for now, let's get it in and things passing the tests again!

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator