various fixes and quick wins

fixes for:
- #613 - BRJS doesn't recognise dependencies quoted in escaped single quotes
- #503 - Use JSON parse to write i18n bundle
- #505 - Allow dashboard moddifications
- #640 - War export fails because of a file that isn't referenced anywhere