Waveguide QED: Multiple Qubits, Inelastic Scattering, and Non-Markovianity