'has_more' handling wasn't correctly indented in polling thread.
Update the tests and the driver code.

An improvement is that since dropbox method upload_chunk already uses
an internal io stream, actually we don't have to use one on Onitu side

Fix some PEP8 issues.