Extent fields

Makes the extent values available for printing.

Adds fields to use in templates: left, top, right, bottom.

Includes #250