app_lua: Added sr.xavp.get_keys function.
don't free strings, this is now from core.