refactor the large if-elif-else used for searching
added search-hook for plugins using "search" scope
moved loading of plugins to initialization
fix some sync issues

- better error message when upload fails
- don't show success message on error
- fix 'unable to find server' accidentally being catchall
fix "free variable 'mw'" error (#284)
add link to add-on forum in error
Merge branch 'master' of github.com:dae/anki
Merge branch 'master' of github.com:dae/anki
when given base on cmdline, get abspath
check for dvipng in test
when showing time with no decimal, round not floor
Remove the right hook.

The code was removing a hook that was not added, with the result that
the hook was not actually being removed.
Merge pull request #24 from flerda/hook

Remove the right hook.
Merge branch 'master' of github.com:dae/anki
properly generate clozed latex in unused media check (#775)
allow HTML in mnemosyne import (#774)
move card type deletion back to X on card tabs
add upper bound to # of media files in single zip
make sure sort field updated when field deleted (#737)
fix inverted sub/superscript shortcuts (#720)