Pass single items directly into set_drop_count( ..., item & ) to avoid passing around a reference to an item on the stack.
Iterate more carefully over item vector when smashing items in it. Should fix #7727
Other ghost options fix. Fixed bug in Interface tab PR#8299
Message explanations for the player's melee misses

When the player misses a melee attack, a weighted list of messages for
melee accuracy penalties is created, and a random one is picked and
messaged. The player will get messages if he has torso encumbrance or is
farsighted and is missing glasses.

An additional message every miss can get annoying, so I made it happen
with a 1 in 2 chance every miss. This is something that can be tuned.

Weighting code adapted a bit from oter_weight_list in overmap.h.
Made the crafting recipe search case-insensitive.
Made the list-items search case-insensitive.
Add sort by damage to adv. inventory,

Fix bug with usage of item::tname.
Use NUM_SORTBY instead of hardcoded value.
Reduce NUM_SORTBY for number of sort algorithms (sortnames).
Move the check for hotkey of ground items up.

The default key bindings for actions like UP/DOWN/LEFT/RIGHT contain the numbers on the numpad.
In the inventory screen they are used for moving the cursor, but if the item list contains items on the ground, those items have them as hotkey.
Before this: pressing '2' would move the cursor an item down, now pressing '2' selects the item with the hotkey '2'.
Support melee miss explanation message translation
Implemented the check for enough components & tools

This time it includes tool qualities.

Replaced the hard coded meaning of the available member of the tool requirements with a enumeration.

About the changes in iuse.cpp: available does not need to be set anymore, the code in game::consume_items does not check it anyway.
Fix using full tin cans as boiling tool.

Small UI fix: add a new line between "You can no longer make this" and the the list of missing things.
Use tool qualities in constructions.

Also add quality "AXE" and "DIG" to some tools.
Merge branch 'fix-unloading-into-wielded-container' of https://github.com/kevingranade/Cataclysm-DDA into merge
Merge branch 'fix-item-smashing' of https://github.com/kevingranade/Cataclysm-DDA into merge
Merge branch 'hide-options-fix' of https://github.com/VlasovVitaly/Cataclysm-DDA into merge
Fix AXE qualite levels of some tools:

Combat chainsaw has level 1 and is thereby not usable for cutting trees/logs/planks.
Battle axe has level 2 is now usable for those constructions again. It was already allowed for those actions before the usage of tool qualities.
Merge branch 'common-consumption-system' of https://github.com/BevapDin/Cataclysm-DDA into merge
Merge branch 'melee-miss-explanation' of https://github.com/Spferical/Cataclysm-DDA into merge
Merge branch 'another-bunch-of-squashed-bug' of https://github.com/BevapDin/Cataclysm-DDA into merge