Add guard logic for breeze.directives:
so element.setCustomValidity(newValue) doesn't fail in FF and IE when newValue is null.