Updated for TS 0.9.  Added debug() function (maps to log('debug')).
Merge pull request #46 from zikifer/master

Updated for TS 0.9.  Added debug() function (maps to log('debug')).