Support for named functions

As proposed by @rlidwka in jashkenas/coffee-script#15

@pke, could you have a look and see if this does what you expect? I tested the patch with our app and at least it still works :trollface: