Add enum and flags member methods

Add all methods from GIEnumInfo to both enums and flags classes.

https://bugzilla.gnome.org/show_bug.cgi?id=693099