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
It would be nicer to only mark the abstract method `@api` and have the tag propagated to the childs.
Unfortunately I had to mark the child.