The debate over what hydroelectric dams contribute to the environment — either as tools in the fight against climate change or impediments to migratory fish and freshwater ecosystem health — is heating up in Maine.