I Zw 1 observed with XMM-Newton. Low-energy spectral complexity, iron lines, and hard X-ray flares