Analysis and numerical approximation of viscosity solutions with shocks : application to the plasma equation