Added support for spinnerLoops and spinnerDuration.

- The new optional parameters are available for the custom spinner only.
Renamed spinDuration and spinLoops parameters.

- Fixed bug with specifying 0 spinLoops.
Merge pull request #5 from wcwynn/v1.9

Added support for spinnerLoops and spinnerDuration.