Checkgroup template now uses the $key as the key to the option.
This fixes the problem of $var[0] instead of $var['name'] in the POST
variables.