Fixes isinstancemethod on Python 3 so that it properly rejects staticmethods; it seems at some point I accidentally reversed the logical sense of this.  The doctest is still broken on Python 3, but it's a mystery that it's even running at all (doctests shouldn't be running on Python 3, generally)