add get_surface lua function

detecting surface from within lua is quite costly this function helps avoiding this