Add random loot generation, fix bugs, etc.

Added random loot generation to "init_location_map", fixed the
location_t struct's NPCs array along with its use in various functions,
removed "const" from the "damage_npc" function's second parameter, and
improved "draw_cell_contents".