Small changes before beta

These were small enough to fit into one PR.

1 - Don't swallow an exception. Might help us narrow down a media sync error.
2 - Delete media db on upgrade. There seem to be a few cases where the db upgrade went wrong, so we start from scratch in this version.
3  - Catch up on libanki changes.