[#3563760 ] Add validation error handling to pattern rendering.
Add validation error handling to pattern rendering.
- Inject PatternValidationHelper service into Pattern element
- Validate content before processing to prevent rendering failures
- Use existing PatternRenderFailureEvent infrastructure for graceful error handling
- Add comprehensive unit tests for new steps
Closes #3563760