refactor the large if-elif-else used for searching
added search-hook for plugins using "search" scope
moved loading of plugins to initialization
fix float issue in stats

[Beta Testing #23]
strip all non-src elements when copying&pasting images between fields
we shouldn't quote when adding media

- utf8/unicode is valid in the src string, provided we escape quotes
- and we escape when setting fields in the editor, leading to double escaping
  if we do that
- and we strip quotes when adding
more media regexp fixes

- split quoted and unquoted image case into separate regexps, since we can't
  include a group reference inside a character set
- disallow spaces in the non-quoted case
- this should fix matching on images with other attributes again
fix upgrading of latex references
remove broken accelerator from preview button; add tooltip
treat preview window as a separate main window
add warning when over 25 decks
if add selected when card is filtered, use home deck as default (#748)
when enter hit, close completer and don't complete (#763)
log deletions in text file
Merge branch 'addhook-search' of git://github.com/valgaav/anki into findhook

Conflicts:
	anki/find.py
Merge branch 'findhook'
make sure we focus first field when adding next note (#605)
profile name in title bar
need to order cards after import for sibling spacing (#464)
fix dialog size issue in deckconf