Create a custom Kryo serializer for WrappedArray to work around Chill's inability to serialize WrappedArray's of specialized tuples.

Once chill fixes the problem, we can revert this change (but we should keep the unit tests I added).