Fixed coffeescript register

With this Pull Request it should be possible to use this module in js projects too without precompiling coffee to js.
Also updated debug module from 0.7.x to 0.8.x