As the controversial oil and gas drilling practice known as hydraulic fracturing continues to spread, governments around the world are grappling with how to regulate it.