Updated the bundled Anki 2.0.20 and made some fixes for that version. Fixes #9.
Collection.media.illegal() was renamed to Collection.media.hasIllegal() in Anki 2.0.12.
Added hooks to RestApp to execute before and after every handler.
Bump version to 2.0.5.