Support for layers with limited extent

The `extent` layer option can be used to limit the extent of layer rendering.  This will replace the `extent` option for sources.

Work in progress.