[FLINK-1296] Add sorter support for very large records

This allows the sorter to handle records larger than the memory sort buffers.