THE HAGUE, Netherlands — A Dutch court has ruled that an energy company jointly owned by Shell and ExxonMobil is liable for the psychological suffering of residents in the north of the country whose homes have been damaged by small earthquakes caused by gas drilling. In a ruling Wednesday, a court in the northern city