use autopep8 to format the generated code

This is quite slow (adds 30s to building the bindings which previously took
<2s), but it is handy for debugging to have everything not all mashed together.
If I can't handle it, I may just move the autopep8 to the 'release' target and
only do it when releasing.

Closes #24