JSON validator + title improvements
- Detect duplicate keys in JSON validator
- Fix validation of
langs.json
- Fix alphabetic sorting of collected titles
- Add error handling for template files
- Shorten paths in error messages to make them easier to read
langs.json