Make the animation last a percentage of the total time

I am not familiar with coffee script, I use JS, so I made my modifications in there.

I have several pie charts that are related and I wanted them to all move at the same rate, but just stop when they get to their correct point on the graph so I added a config option animatePercentOf that will take the percentage of the animation time for the given graph.