Improved the animation system with "anyState" functionality.

Last commit before major change to adapt this into the networking demo.