Set extent on layer to limit number of tiles requested

This also upgrades ol3 to current master.