Reduce minimum memory threshold for sorter
Added direct array serializers for all primitives
Fix deep copy code in GenericArraySerializer
TupleComparator fixed

uses values of passed keys
can skip parts of the tuple if necessary
Add test for generic array serializer
Avoid unnecessary exception wrapping in PackagedProgram invokation.
Add TupleSerializer tests.
Improve TupleComparators.
Add a compare method to teh comparators that works directly on objects.