Changed approach to sublisting arrays.

Nearly done, just need to sort out leading elisions stuff.
Got leading elisions working with new array processing code.
Working on compacting array processing code
Further compacting
Done cleaning up array processing code
Small changes. Need to fix source spans in processElisions.