Make palisade gates harm/knockback critters/vehicles

When a palisade gate/barn door/... (but not normal single-tile doors) closes the critters/npcs/vehicles/the player get hurt (and eventually knocked back). Small critters explode.
If there still remains a critter or a vehicle in the tile, the door will not close.
Items one the door tiles are destroyed (if glass or liquid) or pushed away.

See #1590