Automatically detect a literate coffee file

The CoffeeScript compiler does this auto-detection when acting on a file directly, but it is necessary to tell the compiler if a source string is literate CoffeeScript.