Fix NPC scriptfile path

NPC script file path should begin with data/npc/scripts/. Making the
server add that breaks old NPC files.
Very old deprecated functions were also removed.