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