Added getKeyFrames() function

Added getKeyFrames() method to get the array where the Animation's frames are stored.
Merge pull request #1092 from 4gFizzBuzz/patch-2

Added getKeyFrames() function