Added the allowEmpty setting

This will allow empty values obeying the allowZero setting.