Fixed flush to not try and send ops when subscribing
Merge branch 'rewrite' of https://github.com/josephg/ShareJS into rewrite