Band structure and itinerant magnetism of iron-arsenide superconductors Theory of resonant inelastic X-ray scattering by collective magnetic excitations