Update class.lib.php

create_group_token method now handles time based hash