BernoulliTrial: fix PHPdocs
MemcacheStats: send stats as Transaction events and use sampling
PLATFORM-292: introduce wgMemcacheStatsSampling