Updated CMakeLists.txt

Need it for generating a compilation database, for use with YouCompleteMe etc.
More grid access refactors.

Yup, I overlooked some in mapgen.cpp
Move player designated zones into player class/their own files.

What was this doing in map.h?
Safely erase savegame entries when they're inaccessable in shared mode.
Add wrapping to player::use_charges and player::charges_of for "UPS"

The wrapping interprets a request for charges from itype:
- "UPS" as request for "UPS_on" and "UPS_off" (meaning both item are considered),
- "UPS_on" as (additionally) request for "adv_UPS_on" (both "UPS_on" and "adv_UPS_on" are considered) and as request for active bionic "bio_ups".
- similar for "UPS_off" and "adv_UPS_off" and for bionic "bio_ups" (active or not).

Adds player::has_active_UPS to check for any kind of active UPS (adv./normal/bionic)

Use generalized UPS charges for most stuff that requires UPS charges and use has_active_UPS for for stuff that needs a UPS.

Makes the has_(amount|charges) and (amount|charges)_of const
Move the removal of item mods into functions

The code was repeated several times, that's not good.
Use player::i_add_or_drop instead of dropping the removed mods.
Use item::tname for the name of the modded item.

Also check for the mod in the item_tags, not via item::has_flag as that function looks into the flags of the item type first. We should not change the item type, so we have to modify only item where the mod is used on the item, not on the type.
Enhance UPS mod usage:

Charge items in players possession (if they are modified to use the UPS) to their minimal usable charges.
Disallow the UPS mod on the UPS items itself.
When the item has the flag CHARGEDIM (flashlight), ignore it when used with a UPS mod. This makes the item appear fully charged and emit the full light.
Adds locked gates to hacksaw target list

Fixes #8168, thanks BevapDin for the pointer.
Restores shock_staff damage

it's an upgraded ironshod, not an upgraded wooden one, so per the forums
its damages should be higher.

http://smf.cataclysmdda.com/index.php?topic=7221.msg161104#msg161104
Merge remote-tracking branches 'dda/pr/8278', 'dda/pr/8279', 'dda/pr/8284', 'dda/pr/8289' and 'dda/pr/8290' into dda-master

* dda/pr/8278:
  Updated CMakeLists.txt

* dda/pr/8279:
  More grid access refactors.

* dda/pr/8284:
  Move player designated zones into player class/their own files.

* dda/pr/8289:
  Adds locked gates to hacksaw target list

* dda/pr/8290:
  Restores shock_staff damage
contact lenses->effects, removed unused disease enums
(CR) Clothing upgrade

Seeing as we're asking folks to start in mid-March 20-50F, rather than
65F, I think it's only fair we let 'em evac with a bit warmer gear.

The Generic Survivor gets a light jacket, and everyone who doesn't have
a clear reason NOT to have socks gets a pair.  (It's truly amazing how
many folks didn't have socks!)

This is open to discussion and changes; for instance, I could agree with
issuing a sweatshirt instead of the T-shirt & jacket combo.  Let's talk!
Spacing fixes for tools.

And a spelling fix while we're at it.
boomered->effects
fix JSON

Thanks for the catch, Rivet.
Merge branch 'shared-save-iteration-fix' of https://github.com/kevingranade/Cataclysm-DDA into linux
Merge branch 'linux'
Revert "fix JSON"

This reverts commit 5387ab5d20d6823bcff3d32d57a584bbeb886232.

One of two
Revert "(CR) Clothing upgrade"

This reverts commit 9d1052b291a700f4b53845f9c727d6790295e32c.

Two of two.
Translation template update