Josephson-based threshold detector for L$\backslash$'evy distributed fluctuations