Fix for #2601

When the Json Manipulator couldn't manipulate the config the configSource will use the callback function.
The callback functions in expect param 1 to be a reference to $config which raised an error. Added a custom array_unshift_ref function that adds the config as a reference to the args. This should fix #2601.