Added curTransState()

curTransState() gets the CurrentTransferState (STOPPED, PLAYING, TRANSITIONING).
corrected indentation error
Merge pull request #4 from tilltnet/patch-2

Added curTransState()