[encode_test] Test encoding arrays.
[unmarshal] Allow unmarshaling into arrays (and not just slices)
[unmarshal] Switch to panic instead of returning errors. Fix fallthrough for Time/TextUnmarshaler.