The S&P 500 notched three new record highs this week but the rally fell short on Friday. The index ultimately finished the week up 0.9%, its fourth weekly gain in the past five weeks.