Template group Admin Log support

The Admin Log language strings for adding/editing/deleting a template group are missing. This commit adds them.

This commit also fixes two minor bugs I found when you edit a template group (the gid wasn't being logged correctly) and when you delete one (the gid variable was wrong causing an error that the gid was missing).