Support of global function names in source and insert options

I run into problem using this great plugin, because I couldn't configure it using anonymous callbacks in source and insert options, because I use tinyMCE via Symfony bundle, and there is configuration in yaml.