Accept "0" as a non-empty value

Slight change to ValidationUtil to make non-empty validation easier.
Merge pull request #1627 from rgasch/patch-1

Accept "0" as a non-empty value