Update bionics.cpp

updated failure mechanics.  discussion here: http://smf.cataclysmdda.com/index.php?topic=2687.0
new bionics_install chance of success & skill calculation

discussion here: http://smf.cataclysmdda.com/index.php?topic=2687.0
use adjusted_skill to calculate failure_level
Make wcwidth.c use uint32_t instead of wchar_t
debug weather: dump weather list
Remove unneeded double-percent signs
Fix glare
Movecost sanity check
Stop vehicle missing frame check from causing crash by using typical part iteration loop.
add_missing_frames: optimize.
* run after part insertion, within json_load/load_legacy functions
* push new frame into item list instead of using vehicle::install_part, which triggers
  find_external_parts, find_exhaust, precalc_mounts once for every frame added; load
  does this anyway.
* Only run if savegame_loading_version is v10 or below; new saves won't have vehicles
  with invalid frame config.
Changes names for some medieval armor things and tweaks weights a bit.

Compromise on names that don't require SCA history lessons to decipher,
plus a bit of extra internet research shows that the armor was indeed a
little on the heavy side.
Ornamental armor weight is now 18 kg.
Moved vehicles.json and vehicle_parts.json over to data/json directory
Added "type" information to vehicles and vehicle_parts.json files.
Moved initialization logic from game::game() to game::init_data() so that g will be fully initialized prior to installing vehicle parts during vehicle finalization procedure. Added JsonObject loading systems for vehicle parts and vehicles. Vehicles are cached in a temporary object so they can be finalized after itypes are initialized.
Cleaned up unused functions
Altered vehicles.json to give it type information for loading again.
Altered veh_typedef vehicle_part loading system to use new layering mechanics
Moved monstergroups.json from data/raw to data/json
Alterations to make monstergroups load using new loading system
Grammar alteration to make the soldering/low-batteries message more clear.
More junk food

French fries, malted milk balls, peppermint patties, and Necco wafers.