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.
I know, but see ol.interaction.DrawOptions#type for example: https://github.com/openlayers/ol3/blob/master/externs/olx.js#L1802-L1807. In that case we do have `string` in the type.