On upgrade, do a DB check and don't show upgrade wizard

Ensure the deck upgrade wizard doesn't show up when AnkiDroid is upgraded and you still have .anki files in the AnkiDroid directory. Also do a database check when AnkiDroid is upgraded.

I combined these commits into one pull request since the second one replaces the block in the first one.