Custom Comparator for SampleKey Varint Encoding.

The SampleKey DTO now uses varints for space savings and reducing
the complexity of the places where it is interfaced with having to
bigendian encode 64-bits.

The make infrastructure has been greatly improved to unify Travis and
the standard builds and keep side effects partitioned.