refactor($animate): use $animate.$$setClassImmediately to save code

The reason this exists at all is because there were stupid tests in the tree expecting the behaviour to run synchronously which was a bad API design to begin with, it should have never happened that way. So, the right thing to do is just fix this behaviour and make sure the tests are changed to run in a way that makes sense.