Split up some functions
Add a pref for keeping animations disabled per default

It mimics image.animation_mode, but isn't global.
Small cleanup
Add a pref for showing animation control buttons on hover
Add a pref for toggling images on click
Add a pref for the Ctrl+M and Shift+M shortcuts
1.0