app_lua: add index parameter to get_keys function.
 - Remove some debug log