include/*: add include guards, G_{BEGIN,END}_DECLS to fix header generation.
glib.h,glib-list.h: fix improper usage of calloc(3).
glib-string.h: use vsnprintf instead of vasprintf and/or vsprintf.
glib-list.h: provide implementation of g_list_free()