lua : add automated chagelog generation for the lua API
Building with GCC-4.8.2 no longer fails for me with -Wunused-local-typedefs
If this breaks build for someone, please report in IRC.