Fixed modxRunSnippet to work with complex parameters, like @CODE.

This means that passing parameters to it has changed from a string to an array.