Move animation out of pulse class and into error status.

Removed dependency on AnimationUtils and lodash.