fix(ngAnimate): support removing classes from SVG elements when using jQuery

Without this CL, ngShowHide will not work without the use of monkeypatched
fixes for jQuery such as https://github.com/kbwood/svg 's jquery-svgdom.js
script.

/CC @matsko / @IgorMinar --- as noted above, people can make this work by including third party
scripts, but I thought since this is technically a regression I would write a patch anyways and
see what people think.

So, the main thing is that this is not reusing the existing jqLiteHasClass method, because jqLite
is not exported unless jQuery is not found. We could fix this to support code reuse, if we want
to fix this at all.

There is one other use of `.hasClass()` in ngAnimate that I can see, so it's likely that another
SVG scenario is broken in jQuery by default, but I haven't investigated to see what that other
scenario is.

Balls in your court, do you think we should fix it or just defer the work to third party code
like jquery-svgdom

Closes #8872