RFC: make array repr more like the input syntax. fixes #5676

This change confines display-related issues (showing a header and limiting output) to `writemime`. Array `show` and `repr` include brackets. The only real issue is that there is no good input syntax for n-d arrays, so for now it shows a series of slices. We could print a nest of calls to `cat` but that doesn't seem so great.