refactoring getunit

Primarily getting rid of the getunitpeasants global variable, which is an awful hack that I think was left over from the German Atlantis source code.