Call addslashes on configuration group name (#2775)
Call addslashes on configuration group name (#2775)

This is needed because if a group containing a ' is created it will
create a syntax error in our config file.

Picked from e4c1857
michael-e/symphony-2,symphonycms/symphony-2,bauhouse/sym-todo-list,michael-e/symphony-2,bauhouse/sym-todo-list,symphonycms/symphony-2