gl: find_resource_filename()

+ Add a helper function which looks in theoretically various directories
  for the desired resource; in practice, it only scans a couple of
  parent directories