Add ol.Map.isIdle function.

True if all the tiles are loaded and no animation are in progress.