Add base support for cohorted group configurations

TNL-649
are we using 'type' in js and 'scheme' on the server?  would it be better to standardize on one or the other?