Remove lists

This set of changes removes all uses of container/list, replacing with []T.

Fixes issue #34.