Modeling Frictional Processes In The Presence Of Fluids: From Earthquakes In The Laboratory To Induced Seismicity In Geothermal Reservoirs