Squashed 'plugin/floo/common/' changes from ac12ed2..fd2874b

fd2874b Backwards python.
bfb7500 Do a better job of saving with the correct line endings.
028cdd5 Set view if we haven't saved it since applying patches.
fbbaa55 Don't save buffer if it's not open. We should only save on save events.
7cb496d Better disconnection logic. Now we don't keep showing the status message after you're kicked.
33a6a58 Handle invalid entries in persistent.json.

git-subtree-dir: plugin/floo/common
git-subtree-split: fd2874bcf4d67ba08e605bf5b7fe770018c60d3d
Merge commit '18cf99fbcacbf82144b70f0468cec58da4f9bfc6' into merge_common_python