Improved slice support.

Always do commaNewlineBytes (including last line) for dumpSlice().
Write type string of slice before curly brackets.
Added simple test for int slices.