Electron plasma wave excitation by a q-Gaussian laser beam and subsequent electron acceleration