The prolonged flat, stable period of mortgage rates came to an end this week as rates on the more popular types of mortgages surged, according to the latest data released Thursday by Freddie Mac. Fixed mortgage rates’ biggest one-week gain this year pushed them to their highest level since early May.