fixed mailtemplate list template
Added new devicegroups.
return nothing when invalid classname is given
make devicegroups addable from device form
make devicegroup searchable. Fixes #71