PyPy support

This branch makes python-zephyr work properly under PyPy, and fixes an admittedly-obscure bug under CPython. Not super-heavily tested, but san-checked.