Quasilinear first-order P.D.E.s with hysteresis