Add error reporting for some SDL/tiles related functions.

Make sure that a critical error does not lead to a crash, but a graceful exit.
Also disables the tileset (cata_tiles) if loading the tileset failes.
Finally got around to reimplementing the (fixed) wearable RX12.
Formatting.
Fixed format string bug in crafting menu.
category
Merge string handling and error checking fixes.
GLIBCXX_DEBUG fix: Don't walk off the front of the iterators when crafting using the first item.
Rework fix to address comments by BevapDin.
Whoops, actually need to check the precondition ourselves when doing stepping manually.
Aaand now I'm crashing making arrows. Do the same treatment for inventory::use_charges().
GLIBCXX_DEBUG: If we run out of hotkeys for construction, print space instead of reading arbitrary data..
GLIBCXX_DEBUG: Don't use veh_part for two things - causes read of invalid element.
GLIBCXX_DEBUG: Recompute indices every time in case armor was destroyed in previous loop iterations.
Merge branch 'wearable-rx12' of https://github.com/Rivet-the-Zombie/Cataclysm-DDA into Rivet-the-Zombie-wearable-rx12
colored map notes
Rename veh_part to cargo_part in game::pickup.
added how to use to note popup

and more colors
Merge branch 'master' of https://github.com/CleverRaven/Cataclysm-DDA
Merge index handling cleanups.
Merge branch 'color_notes' of https://github.com/werty1124/Cataclysm-DDA into werty1124-color_notes