Replaced the use of deprecated preg_replace with /e modifier with preg_replace_callback in ContextualValidator::bindReplacements.

Using preg_replace with /e modifier is deprecated in PHP 5.5, resulting in error exception being always thrown on the method call. Fixed by replacing the function call with preg_replace_callback.