Separate titled and anon functions in CoffeeScript

Having an optional title made it hard (impossible?) to ensure
that functions start only where they should. Fixes #574.
Merge branch 'master' of github.com:isagalaev/highlight.js