The average rate for a 30-year fixed-rate mortgage increased slightly this week, though it remains close to a three-year low.…