Accept "0" as a non-empty value

Slight change to ValidationUtil to make non-empty validation easier.