Do not sort resolutions array

We assert that the resolutions array is sorted instead of sorting it ourselves. This is to consistent with ol.TileGrid.
Make ol.Image emit change events
Avoid busy-waiting while images load

This is to be in conformance with the work done with #184.