Simplify creation of tray and winsel gadgets

The constructors for the tray and the window selector were trivial. They are
removed and the functions which create the widgets directly called in ggt.c
Use UNUSED() macro for unused variables

This eliminates compiler warnings about know-to-be-unused variables.
Force C99 mode for compilation
Ignore Vim swap files
Mark set_window_properties() as inline