Added validations for number of leaves and fixed date validations
Changes pulled pushed by Sanghapal