Handle when error is not a string.

Fixes #550
Do not pass raw error object to browser

This was not working at all, the message needs
to be serialized before we can pass it via ws to the client.

fixes #549
Ring bell on error

Fixes #550
Merge pull request #558 from jenius/sjs/fix-errors

Ring bell on error