Landlords and tenants will not pay capital gains tax on the sale of properties that have been rented out for over a decade, the government has …