Allocate users to ab test using mvt cookie value

Move ab test initialise out of app, into ab module