Add consistency checks for profession traits.

(Yes, I have one that works, you're welcome.)
Display profession traits in char build.
Consistency checking for scenario traits.
Add checks for json data of tool quality:

Throw an error if not a json array (instead of debugmsg, will be caught and shown as debugmsg later).
Check that no quality is listed twice.