Only apply live updates during main query and fix dashboard live updates bug

Resolves #675 

@shadyvb please review
@lukecarbis It will already be namespaced by the `stream` plugin directory: `stream/ui/js/global.js`