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 #7 from wcwynn/v2.3

Added support for spinLoops and spinDuration.