Annotorious plugin handles image 'load' events well.

This library change checks whether the image is already loaded or not, and if not, it only initializes the plugin at the image 'load' event.

Fixes #976