Remember started state in cern.cpymad.libmadx

This improves "Enable sharing connections to remote process" (15f7a8a).
Fix error: survey has no table summary