Adding support for light exports.

Added an intermediate function that wrangles plane definition data into
a dictionary before passing to the write and defplane functions.

Functions to call to the pre/post defplane hooks are no longer members
of the RenderPlane object.

Added support for null values in the json definitions.

Improved some documentation.