Refactor arrays

Resolves #68, keeps the old semantics of trying to make the limit of SeqIndex-indexed sequences and Int-indexed sequences the same. I'm not sure that's the right resolution, but I'll start a separate issue for that.

The worldN regressions fail on my Mac with this branch, but the same regressions fail on master, so I don't think that's the fault of my changes.