Added auto-hide functionality for spinner widget

A boolean option 'autoHide' can be specified to auto-hide the spinner
when inactive. The :start and :stop functions have been modified
accordingly.