Development of the photon detection, acquisition and optical systems of modern ring imaging Cherenkov detectors