Contracts to purchase previously owned U.S. homes climbed in March by the most in almost three years, showing residential real estate was starting to stabilize entering the spring selling season.