House prices ended the year on a strong footing, sitting just below an all-time high, according to Nationwide Building Society