Versatile detector technologies and fast readout electronics : Ultra-fast YBa$_2$Cu$_3$O$_{7-x}$ detectors for Coherent Synchrotron Radiation