Implement glib-style enums

Make enums introspectable by giving them the required prefix (changed
from I3_IPC to I3IPC), typedefs, and gtk-doc comments.

Removes the old ipc-protocol file in favor of the new style.