Rename abc2 to abc3 to fix compile error

These functions are used to fix compilation warning though
Add type converters, start creating script that generates API functions
Fix crash while generating object

It was crashing on nlua_push_type_idx, fixed by moving relevant functions out of 
converter.h. No idea why it crashed: replacing inlined function with its body 
did not fix the crash.