Cavity QED with hybrid nanocircuits: from atomic-like physics to condensed matter phenomena