[generator] Pre-compute the escape table
[generator] Pre-compute the escape table

Instead of allocating the escape table to be used with g_strescape()
for each string we can have it unrolled already in code.

Thanks to: Christian Persch <chpe@gnome.org>

Fixes bug:

  http://bugzilla.openedhand.com/show_bug.cgi?id=1648

Distrotech/json-glib,ebassi/json-glib,brauliobo/json-glib,Distrotech/json-glib,ebassi/json-glib,frida/json-glib,Distrotech/json-glib,oerdnj/json-glib,oerdnj/json-glib,GNOME/json-glib,oerdnj/json-glib,robtaylor/json-glib-gvariant,robtaylor/json-glib-gvariant,oerdnj/json-glib,ebassi/json-glib,brauliobo/json-glib,frida/json-glib,brauliobo/json-glib,GNOME/json-glib