repaired player functions, added getKey function

Fixed getName and getMoveRange functions in the player class (was not
properly working before)
added getKey function to the entity class for retrieving single values
from the data dictionary