Blurdetection

Added a boolean field to views.js isBlurred. In app.js, sending blur / focus messages to server when window is blur or in focus.