Add lua function 'io.dread' for reading directories.
Change to use static int for script function types, instead of int.
Merge branch 'feature/filesystem' into develop
Enable spm_send_args: is not cause of segmentation fault