Ab test segmentation refactor

Segmentation now happens early in the bootstrapping, test execution on every page transition.