Provide placeholder subtitution in php validation

This PR updates validate and replace routines for validation plugins to include the full data for the record, and for php it calls parseMessageForPlaceHolder to replace placeholders.

Hopefully, this will retain backward compatibility with existing usage of php validation.