Added NULL support to lists.

Adding scopes will appear to need to store NULL in lists, so this should
ease the work needed to do safe lists.
Wrote scope support and a few tests, which pass.