Implement ConstantPartitioner

@wvanbergen