Add debug box support.

If debug_boxes is enabled via the config file, then each box (picture,
text area, barcode, etc.) will have its bounding box drawn with a
translucent gray rectangle. Useful to working on the layout.