Moved common validation related methods to ValidatorUtil class. Cosmetic changes to BaseEntity