Add progress tracking

Hi!

Enjoyed using spin.js in several recent projects. But in the current one we need to show the loading status to the user. So, we made some changes to add progress tracking. May be it would be useful for other people too.