Various fixes

* path missing for includes
* prefix to not clutter the lua registery space with too common words
* split the struct table in two to prepare the next commit
* it was simpler to reimplement the "next" functionnality than to work around it in my code
* fix a bug with enums : %li is not supported by lua