[DDMD] Make Array a templated struct, and merge with ArrayBase

The second struct is an unnecessary historical artifact.