Ratten leads Saints to AFL upset over Dogs