Initial version of a Lua resource script test
Add get_mime_type function for Lua, add test