Make the check target build ol.js
Reuse tileRange in ol.renderer.Layer#manageTilePyramid

This avoids a lot of garbage.
Merge pull request #2510 from elemoine/check

Make the check target build ol.js
Merge pull request #2525 from fredj/reuse-tileRange

Reuse tileRange in ol.renderer.Layer#manageTilePyramid
Fix incorrect maximum extent in xyz-retina example
Fix attribution in xyz-retina example
Merge pull request #2526 from fredj/xyz-retina

Fix incorrect maximum extent in xyz-retina example
Added 'state' constructor option to Tile and TileImage sources
Added "state" property of olx.source.TileImageOptions to the olx externs
Remove unneeded ol.DebugTile_#tileCoord_ variable
Merge pull request #2531 from fredj/debugtile-cleanup

Remove unneeded ol.DebugTile_#tileCoord_ variable
Be stricter with types
Merge pull request #2529 from petrsloup/source-state-fix

Fix for invalid initial state of certain sources
Remove unnecessary newlines
Remove unnecessary local variable