Danbooru 2 API fixes for Chrome/Opera

Tag updates, related tags and Chrome upload shortcut should work now.
fixes #1
Fix keys for Opera

Removed a keyDown/keyPress hack that I don't remember the reason for.
fixes #3