Add a function to list the files of a directory
Created by: christopho
There is no way to list the files of a directory with the standard Lua lib (for portability reasons), so a function like sol.file.list() would be useful. Maybe it should return an iterator.
It can easily be implemented in the engine by calling PHYSFS_getSearchPathCallback().