Fixed typo

Used g_warn() instead of g_warning()
Refactored WmudClientState to enumtypes.[ch]

enumtypes.[ch] will hold all future enums' GType equivalent