From title deed reviews to court records and tax checks—follow these key steps to ensure your dream property doesn’t turn into a legal nightmare.