Fix animation loading.

Load the frame data as a contiguous block
instead of as positions / orientations.
Rename incorrect values 'num_components'
and 'frame' to 'flags' and 'start_index'.
Fix some comments.
Add num_animated_components property.