Add applications to groups only if postfix is defined

If applications_postfix is not set, then the groups list should only be
the classes list. Else there might be naming conflicts.

In any case, applications_postfix is probably not going to stay, so this
is a hack.

Signed-off-by: martin f. krafft <madduck@madduck.net>