Validate function added to the Item model.
Validation rules updated and enforced on 'new' and 'edit'.