Add the sampler API following [the spec](https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/api-sampling.md).