Second order parabolic systems, optimal regularity, and singular sets of solutions