Remediation Chemistry of Humic Substances: Theory and Implications for Technology