Generate stringification functions for enums
@wjt
Submitted by Will Thompson Assigned to Telepathy bugs list
Description
The group mixin has some code to stringify TpChannelGroupFlags, which was out of sync with the present (it only had cases for the first eight flags, and ignored the others). It'd make for easier writing of debug output if the codegen produced string constants for each enum member, and a stringification function.