updated normalizeStringForXML method to handle null strings
gh-125 : when creating or updating a leave check if the user has really
specified a leave type
Merge pull request #126 from slavikos/gh-125

Gh 125