Refactor|Client|Partition: Swapped direction/origin arguments for Partition's ctor

A zero based origin is far more likely than a zero-length direction.