WIP array support.

Got far enough to learn that OSL doesn't allow connections into array elements, which makes the whole thing pointless for now.