Fixed some issues with creating animations from movie clip.

Fixed some issues with creating animations from movie clip. Arrays for
containing data about animations replaced on Vector. Fixed issues in
'dublicateWithFrames()' method. Added 'clearCache()' method.