Testing and Applications of a Thermodynamic Database for the Hydrogeochemical Modelling of Acid Mine Brines