pythonshare: execute code on disconnected

conn.exec_in(ns, "pythonshare_ns.exec_on_disconnect(CODE)")
adds code to server for execution when the connection to
the client is closed or lost.