Reintroduce parts of the old get_species_by_index to code to fix

misbehaviuor with wizmode-defined ghosts (doesn't really work anyway) and (hopefully) the highscores.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3507 c06c8d41-db1a-0410-9941-cceddc491573

Created by  j-p-e-g  on March 3, 2008
6O5667Y65C5GTP4V3NBKWUN22IRGCAXEELJ6MCANMYPBOKDUO75QC
Change contents