Development of a high-repetition and high-spatial-resolution Thomson scattering diagnostic for measuring transient plasma phenomena