Add server_environments_group and server_environments_mode parameters

I'm fine with ```root``` or ```undef```.