generator: update rhogen, colorize error and warning messages, put template name only in case of exceptions, check for duplicate constant names