Preliminary delta support, bugfixes

Fixed uploading and downloading files on Windows. Preliminary support
for delta parsing introduced. I even got some files to download using
it. Although I think it crashes at some point, but I need more testing.
Moved Dropbox session initialization code from procedure, so invoking
the client would not mean re-authorizing all the time. It can possibly
break monitor.py, but I'll test that later.