Fix for invalid initial state of certain sources

Certain tile sources derived from `ol.source.TileImage` (`ol.source.BingMaps` and `ol.source.TileJSON`) are passing `state: ol.source.State.LOADING` as an constructor option to the `ol.source.TileImage`, but this options is not recognized (it is not handled at all). As a result of this, the state of these tile sources is initially set to "ready", which is not desired.
@petrsloup is correct. I decided not to change this for the moment. But at some point we should be more consistent and harmonize the way we handle enums at the API level.