snippets: add namespace filter.

This filter can extract the namespace from a camel or function name.

GtkWidget => Gtk
gtk_widget_show => Gtk