Median home sale prices zoomed to an all-time high last year, and that helped home sellers net higher profits.