Rebase minstrel_bewma; remove EWMA implementations from common.