A treasure trove of 500,000 ceramic coins from WWII, once thought destroyed, has been unearthed in a Japanese warehouse.