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)
make sure we don't chomp embedded newlines when clearing comments (#722)
escape HTML when showing errors (#828)
handle nbsp in furigana (#327)
tooltip if study button inactive
don't play audio twice when changing templates (#472)

- setting current tab index triggered the function, so we don't need to call
  it manually
- no need to set index after adding card either, as it defaults to the most
  recently added tab
catch unicode errors in debug console (#545)
fix bugs introduced in previous #472 fix
different text for creating deck (#412)
tolerate html-commented type answer field (#599)