Open master.gsav in binary mode for reading.
Open artifacts.gsav in truncate mode to prevent it doubling in size each time we save.
Changed to std::ofstream::trunct instead.
Properly skip separators while loading master.gsav.
Properly load faction "known_by_u" as a bool.
Clear current itypes before loading new artifacts.
Delete current artifact ids before loading new ones.
Merge branch 'binary_always_binary' into simpler_separating
Remove todo for is_whitespace, as it complies with RFC 4627.
Tidy up separator tracking a little.
Restyle main.cpp because restyle main.cpp
Add --jsonverify commandline option to cleanly exit after data/json is processed successfully
 (or exit with $? > 0 if someone forgot a comma etc)
code_doc/contrib/verify_json.sh: shell script to call ./cataclysm --jsonverify with dummy input and strip terminal control characters from output
code_doc/contrib/verify_json.sh: set TERM to xterm as that requires less output mangling
And your little BACKSPACE too
Merge branch 'pr/4255'
Turn silly pipe chain into silly sed expression chain which ensures no silly !printables
Merge branch 'pr/4281'
Merge branch 'pr/4340'
Merge pull request #4341 from atomicdryad/json_vfy

Commandline option to parse json and exit, shell script to run cataclysm with this option and strip terminal control characters