Bug 1021384 - Ensure animations are cancelled before destroying the APZC instance. r=botond