make sure suspended/buried cards are reset on export too
seeking on win32 is slow, so keep file handle around
don't close log on profile close

we want the log to stick around for syncs, and if the user
changes to another profile the log will be closed then
move debug logging into libanki

we want to be able to log the initial automatic sync, which
happens before the debug logging was set up in ankiqt

also skip the flush, as it should eventually get written
catch temp folder issue when importing
strip out buggy retry code

it assumed there'd be at least one retry, and was trying to return
response that was initialized
make sure simplejson always returns unicode
fix note types with missing reqs
cards must be removed from filtered decks before they're buried

if not, removeLrn() resets due=odue and odue=0, leading to an invalid
delay calculation when they're later reviewed in the filtered deck

to fix this we'll need to make the same changes required to support
learning cards retaining their state when being emptied from a
filtered deck
disable plastique theme on osx as possible crash fix
further simplify augmented httplib2 conn_request
recover from a corrupt prefs.db that fails to load at all
don't open log for export or upgrade, only regular+sync
make sure we don't 'fix' req for cloze type
don't bother logging sortCards()
log media sanity
rotate log file when it hits 10MB
catch invalid file encodings in media check & sync
catch "no such file or directory" error when connecting with no net

soren reports it happening on his computer; can't repro it here

also make sure exception is always converted to string in reliable way
ask people to check media when media sanity occurs