Spatio-temporal shaping of photocathode laser pulses for linear electron accelerators. (October 2017)