code cleanup in Smarty_CMS class
Fixes problem with groups in adduser
Fixes problem with WYSIWYG initialization.