passing the Lex context variables through the callback

Fixes issue #3082 by routing the Lex context variables through to the plugin parameter replacement function.

The additional $data parameter in the call_user_func_array call should not affect any existing callback since to the best of my knowledge (and testing), any superfluous arguments sent to the receiving function will be ignored.