Theta neuron subject to delayed feedback: a prototypical model for self-sustained pulsing