added comment to function.
Merge branch 'master' of https://github.com/smrycek/OnCallEscalationManager
Added application validator. it should check that the name isnt an empty string and that the name hasn't already been used. Wrote test cases to go along with it.