make sure temp folder hasn't been deleted since creation
don't try to log in if user cancels login dialog
allow changing case of profile name on Windows
Merge branch 'windows-case-fix'
update all duplicates when importing

If duplicate notes are already in the collection and, based on the first
field of all of them, they should be updated, update all of them instead
of just the first one we come across.
remove search text when ctrl-clicking a left panel item
fix rounding of cards/minute; use 1 decimal place
change default Anki folder location on Linux to Documents/Anki

(leave in ~/Anki for existing installs)
add css id to the star used for marking

Can't automatically prevent the star from being affected by image resize
and other CSS properties, as even weirder things happen to it when we
try. However, this will give users the ability to fix it themselves.
change out of temp media folder before deleting it

In some cases, not doing so could cause a "this file is being used by
another process" error.
prevent profiles from getting out of sync when rename fails

If there is an error in renaming the folder, don't write the new profile
name to the database.
update note type on apkg import when only templates have changed

Previously, it only updated if card/note count was different, even if
the templates / styling information had been updated.
Merge branch 'master' of git://github.com/sobjornstad/anki into sobjornstad-master

Conflicts:
	anki/exporting.py
Merge branch 'sobjornstad-master'