Battles end. Added protection to locations.

Battles now end when the enemies runs out of health. Enemies are removed
from rooms after being defeated. Added a bit of error checking to
location attributes.