Add hooks for context menus
work around linux crash on paste

https://anki.tenderapp.com/discussions/ankidesktop/2019-inaccessible-firewall-blocked-media-url-paste-hangs-anki-for-a-minute-until-a-network-is-unreachable-like-message-appears
Merge pull request #40 from steveaw/add-hooks3

Add hooks for context menus
escape + in deck names
warn when prefs.db corrupt and catch another case
remove filtered deck restriction on stats
allow includegraphics in latex
fix incorrect code that was not restoring clipboard
don't try to download local image urls
starting easy should go no lower than 130%
remove redundant regex in latex code
work around crash on close when card layout opened on windows (#940)
unused media tooltip patch from julien baley (removed redundant .finish())
bump version
Merge remote-tracking branch 'dae/master' into feature-flake

Conflicts:
	aqt/__init__.py
	aqt/addcards.py
	aqt/editor.py
	aqt/profiles.py
	aqt/webview.py
Re-clean.
Merge remote-tracking branch 'flake/feature-flake' into feature-ospalh-special
Re-do the cutting off of trailing “<br>”s.
Change to my personal taste: show top decks when moving cards.