Squashed 'floo/common/' changes from f07d874..6f174a9

6f174a9 Use text mode to open more files. Use \n instead of os.linesep, since python converts newlines to \n when reading files in text mode.
87d41da Don't open files in binary mode. Use os.linesep instead of \n
f70d2f6 Read floorc in text mode, not binary mode.
d414914 Fix log message. Open in text mode, not binary mode.
b92753c Cleanup.
7b1e618 Oops. Fix bug where we only send one get_buf.
c66ebda Allow dots in the workspace name.
1ff1f2c Handle trailing slashes in ignore files. There's an optional optimization we can add to is_ignored, but I don't take advantage of it yet. Related to #137.
173b287 Save buffer even if the user doesn't have the buffer open. Fixes #138.

git-subtree-dir: floo/common
git-subtree-split: 6f174a983234c3f0c47545903ff0fa2681ac5c64
Merge commit '4ccc8348f282e87d7275c7787289504396118726'