Fix animation functionality

Improve abstraction and encapsulation, makes threading more obvious.

*** This commit is tied directly to changes in the vistrails repository
(branch uvcdat-490-animation-updates).  Both branches need to be
used/merged. ***
Fix playback state logic
Merge branch 'uvcdat-490-animation-updates'