Use CoffeScript.helpers.* functions to detect CS and Literate CS files

CoffeeScript exposes two methods `isCoffee()` and `isLiterate()` to detect CS files.
We don't need to invent the wheel)

https://github.com/jashkenas/coffee-script/blob/master/lib/coffee-script/helpers.js#L181-L187