Add a validate_string check for custom_fragment.
Merge pull request #812 from mhaskel/MODULES-75

Add a validate_string check for custom_fragment.