Fix bug: sendSavedErrors was not defined

Causes error "[client] Cannot read property 'apply' of undefined"
Does not send duplicate errors with same message
Merge pull request #52 from mnmtanish/send-saved-error-bugfix

Fix bug: sendSavedErrors was not defined