GUAC-897 Fixed cg vs g confusion for connection group type identifier in javascript and templates.