Add style image state and listener functions to API.

Allows application code to be notified when the image is loaded.

Unfortunately, the enum will no be exported, see https://github.com/openlayers/ol3/issues/954
I am calling the getImageState function on the base style Image class.
So that is the one I should mark.

Today, it may be technically unnecessary though.