Fix validation plugins when error message is blank.

$v is null not '' so switch to using empty function.

Fixes problem reported in http://fabrikar.com/forums/index.php?threads/validation-error-highlighting.35653/page-2 with notempty validation.