Provide files, line numbers and functions on crash where possible.

Generates a new debug_info.json file that maps addresses to files
at build time. When a crash is detected by the web app, it loads this
file and attempts to use it to recover information about the crash.

This won't do anything interesting on builds predating this change.
Add missing X-Requested-With CORS to bootstrap.sh.