List<T> and IList<T> support, fixes issue #145.

Thanks to @berlotte for the initial implementation of this feature.