half-finished changes to get change events to reliably come out a FIFO; postgres doesn't run python code in a single session sensibly

http://www.postgresql.org/docs/9.3/static/plpython-sharing.html is relevant
Use postgres-python's GD dictionary to make the init section actually persist its initializations.