What foreigners need to know before buying property in Thailand: ownership rules, due diligence and the transfer process.