Squashed 'floo/common/' changes from ac12ed2..4e40844

4e40844 Add floobits-debug command. Clean up handling of log level in python agent.
6504d84 Merge commit '25c0cc884b8b2570b37086d60abb8d1c2e9df8c0' into new_stomp_ui
8568241 Whoops. Wrong import for st3.
fea2212 Fix post data to have the right key names. Re-raisein the decorator.
a02868c Set other info in error report.
720b838 Forgot to call f with args and kwargs. Name of stack trace is stack.
8806ff4 Wrap tick function in reactor. Add send_errors decorator that we will soon use in many places. Fix imports.
723aad2 First stab at error reporting stuff.
0f1dc7e Send client info in body of error report.
56ef311 Merge commit '3b144a3f469d3479009361dcdb78e2d77b340cb4' into new_stomp_ui
7244341 Merge branch 'master' into new_stomp_ui
997ff6a Don't modify msg.
7eb7a8c Write to log in binary mode.
fe105bb Fix whitespace. #168
8a79a78 Fix a bunch of unicode problems in logging.
1331354 Fix string format.
2870d0b Fix exception when uploading an already-existing file.
b9d131c Set a timeout on the user input because emacs doesn't always give us feedback
64fa263 Better prompt. Kill listener factory when stopping handler. Stop ticking if there are no protos or handlers left.
db9ff66 Cleaner upload function. Send the correct data when stomping. Don't md5 buffers unnecessarily.
892af1f Only return if text is none.
17b24a5 Work-around python 3 encoding.
58781e2 Gah. I forgot that we reuse changed_bufs and missing_bufs.
c5827e4 Mention actual files that are changed if it's a short list.
74426f6 Now settings.expert_mode will disable the annoying pop-up.
93d729d Move sublime-specific stuff into sublime connection.
24d2328 Totally rewritten stomp UI.
0397343 Make a handler.stop() and call it on disconnect. Use error_message instead of message_dialog for errors. Delete view hash if we're about to send a get_buf.
234e36b Forgot to bump proxy protocol version.
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: floo/common
git-subtree-split: 4e408445abe973a5aa8f4775adc1efeb839c2d57
Merge common python. Fix conflicts (some patches were double-applied). Stop listener factory and log more stuff in reactor stop.