Added changes to notify websocket listeners of alert dialogs.  iOS only.

This currently doesn't work, but lays the groundwork to the solution.  With a little help from the node.js experts to get the socket.io connection working, we'll have a solution.